Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Logging to the vm instance using generated key pair.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance using generated key pair.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete Vm instances using instance names. Also remove the VM from the
list so that later cleanup will not try to delete it.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check non reachability of deleted vm instances by pinging to them.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_L2
${dstdir} = /tmp/CSIT_L2
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_L2
${dstdir} = /tmp/CSIT_L2
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 1
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:17:50 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 3
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:16:13 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 5
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:15:44 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L2/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 294 294
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 294 294
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 294 294
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 254 254
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 254 254
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 254 254
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 265 265
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 265 265
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 265 265
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite to verify packet flows between vm instances.
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the VM instance and test operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Logging to the vm instance using generated key pair.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Logging to the vm instance using generated key pair.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete Vm instances using instance names in net_1.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete Vm instances using instance names in net_2.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete Vm instances using instance names in net_3.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Create VM instances using flavor and image names for a network.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Create VM instances using flavor and image names for a network.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Create Router
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Add Interfaces
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Add Interfaces
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them after creating routers.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instance on a different network with one vlan vm in source and destination.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_L3
${dstdir} = /tmp/CSIT_L3
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L3
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L3 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_L3
${dstdir} = /tmp/CSIT_L3
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L3
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L3 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:17:57 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:17:57 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:17:58 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L3/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 295 295
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 295 295
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 295 295
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite to check connectivity in L3 using routers.
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of External Network PNF from VM instance (with ttl=1 to make sure no router hops)
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of External Network PNF from VM instance (with ttl=1 to make sure no router hops)
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Create and associate a floating IP for the VM
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of external gateway by pinging it from the control node.
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance through floating IP by pinging them.
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance through floating IP by pinging them.
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance floating IP from another VM instance with FIP (with ttl=1 to make sure no router hops)
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance floating IP from another VM instance with FIP (FIP-FIP in the same compute node)
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance floating IP from another VM without Floating IP
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance floating IP from another VM without Floating IP
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance floating IP from another VM without Floating IP
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of VM instance floating IP from another VM without Floating IP
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of External Network PNF from VM instance (with ttl=1 to make sure no router hops)
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the VM instance and test TCP connection to the controller via SNAT
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the VM instance and test UDP connection to the controller via SNAT
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the VM instance and test TCP connection to the controller via SNAT
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the VM instance and test UDP connection to the controller via SNAT
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the VM instance and test TCP connection to the controller via SNAT
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the VM instance and test UDP connection to the controller via SNAT
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of External Network PNF from SNAT VM Instance1
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of External Network PNF from SNAT VM Instance2
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete FIP from VM Instance 1
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete FIP from VM Instance 2
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of External Network PNF from VM instance (with ttl=1 to make sure no router hops)
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of External Network PNF from VM instance (with ttl=1 to make sure no router hops)
skip_if_conntrack
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_External_Network
${dstdir} = /tmp/CSIT_External_Network
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_External_Network
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_External_Network 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_External_Network
${dstdir} = /tmp/CSIT_External_Network
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_External_Network
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_External_Network 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:11 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:12 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:12 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.External Network/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite to check North-South connectivity in L3 using a router and an external network
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Check non-reachability of vm instances by pinging to them.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check non-reachability of vm instances by pinging to them.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check non-reachability of vm instances by pinging to them.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Create Router and Add Interface to the subnets.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Add an additional security group to the VMs - this is done to test a different logic put in place for ports with multiple SGs
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them from DHCP.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them from DHCP.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Initiate ping from DHCP to VM instance and remove security rules
dynamically check the communication has stopped after removing the security group rules.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check non-reachability of vm instances by pinging to them.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check non-reachability of vm instances by pinging to them.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them from DHCP.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Check reachability of vm instances by pinging to them from DHCP.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test some operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Login to the vm instance and test operations
skip_if_stateful
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Security_Group
${dstdir} = /tmp/CSIT_Security_Group
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Security_Group
${dstdir} = /tmp/CSIT_Security_Group
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:21 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:21 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:21 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite to verify security groups basic and advanced functionalities, including negative tests.
These test cases are not so relevant for transparent mode, so each test case will be tagged with
"skip_if_transparent" to allow any underlying keywords to return with a PASS without risking
a false failure. The real value of this suite will be in stateful mode.
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
This test case validates the security group creation with optional parameter description, Update Security Group description and name
Regression
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
This test case validates the security group and rule creation with optional parameters Create Security Rule with port_range_min greater than port_range_max
Regression
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
This test case validates the security group and rule creation with optional parameters, Create Security Rule with port_range_min = -1
Regression
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
This test case validates the security group and rule creation with optional parameters, Create Security Rule with port_range_max = -1
Regression
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Neutron_Security_Group
${dstdir} = /tmp/CSIT_Neutron_Security_Group
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Neutron_Security_Group
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Neutron_Security_Group 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Neutron_Security_Group
${dstdir} = /tmp/CSIT_Neutron_Security_Group
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Neutron_Security_Group
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Neutron_Security_Group 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:29 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:30 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:30 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Neutron Security Group/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 256 256
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test Suite for Neutron Security Group
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test Suite for Network and Subnet Broadcast with security group
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
This TC is to verify Network Broadcast traffic between the VMs hosted in Same Network on same/different compute node
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
This TC is to verify Network Broadcast traffic between the VMs hosted in Different Network on same/different compute node.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify L3-Subnet Broadcast traffic between the VMs hosted on same compute node in Single Network
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify L3-Subnet Broadcast traffic between the VMs hosted on same compute node in Single Network
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify L3-Subnet Broadcast traffic between the VMs hosted on same compute node in Multi Network
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify L3-Subnet Broadcast traffic between the VMs hosted on Different compute node in Multi Network
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Security_Group_L3Bcast
${dstdir} = /tmp/CSIT_Security_Group_L3Bcast
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group_L3Bcast
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group_L3Bcast 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Security_Group_L3Bcast
${dstdir} = /tmp/CSIT_Security_Group_L3Bcast
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group_L3Bcast
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Security_Group_L3Bcast 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:37 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:38 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:38 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Security Group L3Bcast/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 263 263
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 263 263
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 263 263
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test Suite for Network and Subnet Broadcast with security group
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Checks datapath within the same network with different vlans.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Recreate multiple extra route and check data path before L3VPN creation
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete router with nonExistentRouter name
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Associates L3VPN to networks and verify
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Datapath Test Across the networks with VPN.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify route update after VM port removed and re added to VPN
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify route update after reconfiguring vpn by creating new VM with new port on openvswitch1
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Dissociate L3VPN from networks
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verification of a failure response with deletion of an unknown L3VPN
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete L3VPN
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Creates three L3VPNs and then verify the same
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete the setup
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.VPN Delete L3VPN
vpnid=@{VPN_INSTANCE_IDS}[0]
Delete the created L3VPN
vpnid=@{VPN_INSTANCE_IDS}[0]
Add arguments sensible for JSON data, return Post_Templated response text.
folder=${VAR_BASE}/l3vpn_delete
mapping=${Kwargs}
session=default
http_timeout=${SESSION_TIMEOUT}
Resolve URI and data from folder, call Post_To_Uri, return response text.
folder=${folder}
base_name=data
extension=json
accept=${ACCEPT_EMPTY}
content_type=${HEADERS_YANG_JSON}
mapping=${mapping}
session=${session}
normalize_json=True
endline=${\n}
iterations=${iterations}
iter_start=${iter_start}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
base_name=location
extension=uri
mapping=${mapping}
${uri}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/location.uri
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/location.uri' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/location.uri
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri</a>'.
${template} = /restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${template}
/restconf/operations/neutronvpn:deleteL3VPN
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = /restconf/operations/neutronvpn:deleteL3VPN
Returning from the enclosing user keyword.
${uri} = /restconf/operations/neutronvpn:deleteL3VPN
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
name_prefix=post_
base_name=${base_name}
extension=${extension}
mapping=${mapping}
endline=${endline}
iterations=${iterations}
iter_start=${iter_start}
${data}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/post_data.json
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/post_data.json' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/post_data.json
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json</a>'.
${template} = {
"input":{
"id":[
"$vpnid"
]
}
}
Logs the given message with the given level.
${template}
{
"input":{
"id":[
"$vpnid"
]
}
}
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261441"
]
}
}
Returning from the enclosing user keyword.
${data} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261441"
]
}
}
Reads JMES path from file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/jmespath.expr if the file exists and
${folder}
${jmes_expression}
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${folder}${/}jmespath.expr
${read_jmes_file}
Fails unless the given ``path`` points to an existing file.
${folder}${/}jmespath.expr
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/jmespath.expr' does not exist.
${read_jmes_file} = False
Runs the given keyword with the given arguments, if ``condition`` is true.
${read_jmes_file} == ${true}
OperatingSystem.Get_File
${folder}${/}jmespath.expr
${jmes_expression}
${jmes_expression} = None
Sets variable based on the given condition.
${read_jmes_file} == ${true}
${jmes_expression}
${EMPTY}
${expression}
${expression} =
${jmes_expression} =
POST data to given URI, check status code and return response text.
uri=${uri}
data=${data}
content_type=${content_type}
accept=${accept}
session=${session}
jmes_path=${jmes_expression}
normalize_json=${normalize_json}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Logs the given message with the given level.
${uri}
/restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${data}
{
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261441"
]
}
}
Logs the given message with the given level.
${content_type}
{u'Content-Type': u'application/yang.data+json'}
Logs the given message with the given level.
${accept}
{}
Take two dicts, join them, return result. Second argument values take precedence.
first=${content_type}
second=${accept}
${headers}
Returns a copy of the given dictionary.
${first}
${accumulator}
${accumulator} = {u'Content-Type': u'application/yang.data+json'}
Returns items of the given ``dictionary``.
${second}
${items_to_add}
${items_to_add} = []
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${accumulator}
@{items_to_add}
Logs the given message with the given level.
${accumulator}
{u'Content-Type': u'application/yang.data+json'}
${headers} = {u'Content-Type': u'application/yang.data+json'}
Runs the given keyword with the given arguments, if ``condition`` is true.
"""${http_timeout}""" == """${EMPTY}"""
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
ELSE
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
${response}
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
No keyword with name 'RequestsLibrary.Post_Request' found.
${response} = None
Log response text, check status_code is one of allowed ones.
${response}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
Logs the given message with the given level.
${response.text}
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
Logs the given message with the given level.
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the specified keyword and returns from the enclosing user keyword.
"""${explicit_status_codes}""" != """${NO_STATUS_CODES}"""
Collections.List_Should_Contain_Value
${explicit_status_codes}
${response.status_code}
Combines the given ``lists`` together and returns the result.
${ALLOWED_STATUS_CODES}
${additional_allowed_status_codes}
${final_allowd_list}
${final_allowd_list} = [200, 201, 204]
Fails if the ``value`` is not found from ``list``.
${final_allowd_list}
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the given keyword with the given arguments, if ``condition`` is false.
${normalize_json}
BuiltIn.Return_From_Keyword
${response.text}
Attempt to return sorted indented JSON string.
${response.text}
jmes_path=${jmes_path}
${text_normalized}
${text_normalized} = None
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
${response_text} = None
${response_text} = None
Runs the given keyword with the given arguments, if ``condition`` is true.
${verify}
Verify_Response_As_Json_Templated
response=${response_text}
folder=${folder}
base_name=response
mapping=${mapping}
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.VPN Delete L3VPN
vpnid=@{VPN_INSTANCE_IDS}[1]
Delete the created L3VPN
vpnid=@{VPN_INSTANCE_IDS}[1]
Add arguments sensible for JSON data, return Post_Templated response text.
folder=${VAR_BASE}/l3vpn_delete
mapping=${Kwargs}
session=default
http_timeout=${SESSION_TIMEOUT}
Resolve URI and data from folder, call Post_To_Uri, return response text.
folder=${folder}
base_name=data
extension=json
accept=${ACCEPT_EMPTY}
content_type=${HEADERS_YANG_JSON}
mapping=${mapping}
session=${session}
normalize_json=True
endline=${\n}
iterations=${iterations}
iter_start=${iter_start}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
base_name=location
extension=uri
mapping=${mapping}
${uri}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/location.uri
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/location.uri' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/location.uri
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri</a>'.
${template} = /restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${template}
/restconf/operations/neutronvpn:deleteL3VPN
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = /restconf/operations/neutronvpn:deleteL3VPN
Returning from the enclosing user keyword.
${uri} = /restconf/operations/neutronvpn:deleteL3VPN
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
name_prefix=post_
base_name=${base_name}
extension=${extension}
mapping=${mapping}
endline=${endline}
iterations=${iterations}
iter_start=${iter_start}
${data}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/post_data.json
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/post_data.json' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/post_data.json
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json</a>'.
${template} = {
"input":{
"id":[
"$vpnid"
]
}
}
Logs the given message with the given level.
${template}
{
"input":{
"id":[
"$vpnid"
]
}
}
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261442"
]
}
}
Returning from the enclosing user keyword.
${data} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261442"
]
}
}
Reads JMES path from file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/jmespath.expr if the file exists and
${folder}
${jmes_expression}
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${folder}${/}jmespath.expr
${read_jmes_file}
Fails unless the given ``path`` points to an existing file.
${folder}${/}jmespath.expr
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/jmespath.expr' does not exist.
${read_jmes_file} = False
Runs the given keyword with the given arguments, if ``condition`` is true.
${read_jmes_file} == ${true}
OperatingSystem.Get_File
${folder}${/}jmespath.expr
${jmes_expression}
${jmes_expression} = None
Sets variable based on the given condition.
${read_jmes_file} == ${true}
${jmes_expression}
${EMPTY}
${expression}
${expression} =
${jmes_expression} =
POST data to given URI, check status code and return response text.
uri=${uri}
data=${data}
content_type=${content_type}
accept=${accept}
session=${session}
jmes_path=${jmes_expression}
normalize_json=${normalize_json}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Logs the given message with the given level.
${uri}
/restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${data}
{
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261442"
]
}
}
Logs the given message with the given level.
${content_type}
{u'Content-Type': u'application/yang.data+json'}
Logs the given message with the given level.
${accept}
{}
Take two dicts, join them, return result. Second argument values take precedence.
first=${content_type}
second=${accept}
${headers}
Returns a copy of the given dictionary.
${first}
${accumulator}
${accumulator} = {u'Content-Type': u'application/yang.data+json'}
Returns items of the given ``dictionary``.
${second}
${items_to_add}
${items_to_add} = []
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${accumulator}
@{items_to_add}
Logs the given message with the given level.
${accumulator}
{u'Content-Type': u'application/yang.data+json'}
${headers} = {u'Content-Type': u'application/yang.data+json'}
Runs the given keyword with the given arguments, if ``condition`` is true.
"""${http_timeout}""" == """${EMPTY}"""
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
ELSE
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
${response}
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
No keyword with name 'RequestsLibrary.Post_Request' found.
${response} = None
Log response text, check status_code is one of allowed ones.
${response}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
Logs the given message with the given level.
${response.text}
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
Logs the given message with the given level.
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the specified keyword and returns from the enclosing user keyword.
"""${explicit_status_codes}""" != """${NO_STATUS_CODES}"""
Collections.List_Should_Contain_Value
${explicit_status_codes}
${response.status_code}
Combines the given ``lists`` together and returns the result.
${ALLOWED_STATUS_CODES}
${additional_allowed_status_codes}
${final_allowd_list}
${final_allowd_list} = [200, 201, 204]
Fails if the ``value`` is not found from ``list``.
${final_allowd_list}
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the given keyword with the given arguments, if ``condition`` is false.
${normalize_json}
BuiltIn.Return_From_Keyword
${response.text}
Attempt to return sorted indented JSON string.
${response.text}
jmes_path=${jmes_path}
${text_normalized}
${text_normalized} = None
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
${response_text} = None
${response_text} = None
Runs the given keyword with the given arguments, if ``condition`` is true.
${verify}
Verify_Response_As_Json_Templated
response=${response_text}
folder=${folder}
base_name=response
mapping=${mapping}
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.VPN Delete L3VPN
vpnid=@{VPN_INSTANCE_IDS}[2]
Delete the created L3VPN
vpnid=@{VPN_INSTANCE_IDS}[2]
Add arguments sensible for JSON data, return Post_Templated response text.
folder=${VAR_BASE}/l3vpn_delete
mapping=${Kwargs}
session=default
http_timeout=${SESSION_TIMEOUT}
Resolve URI and data from folder, call Post_To_Uri, return response text.
folder=${folder}
base_name=data
extension=json
accept=${ACCEPT_EMPTY}
content_type=${HEADERS_YANG_JSON}
mapping=${mapping}
session=${session}
normalize_json=True
endline=${\n}
iterations=${iterations}
iter_start=${iter_start}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
base_name=location
extension=uri
mapping=${mapping}
${uri}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/location.uri
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/location.uri' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/location.uri
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri</a>'.
${template} = /restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${template}
/restconf/operations/neutronvpn:deleteL3VPN
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = /restconf/operations/neutronvpn:deleteL3VPN
Returning from the enclosing user keyword.
${uri} = /restconf/operations/neutronvpn:deleteL3VPN
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
name_prefix=post_
base_name=${base_name}
extension=${extension}
mapping=${mapping}
endline=${endline}
iterations=${iterations}
iter_start=${iter_start}
${data}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/post_data.json
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/post_data.json' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/post_data.json
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json</a>'.
${template} = {
"input":{
"id":[
"$vpnid"
]
}
}
Logs the given message with the given level.
${template}
{
"input":{
"id":[
"$vpnid"
]
}
}
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261443"
]
}
}
Returning from the enclosing user keyword.
${data} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261443"
]
}
}
Reads JMES path from file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/jmespath.expr if the file exists and
${folder}
${jmes_expression}
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${folder}${/}jmespath.expr
${read_jmes_file}
Fails unless the given ``path`` points to an existing file.
${folder}${/}jmespath.expr
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/jmespath.expr' does not exist.
${read_jmes_file} = False
Runs the given keyword with the given arguments, if ``condition`` is true.
${read_jmes_file} == ${true}
OperatingSystem.Get_File
${folder}${/}jmespath.expr
${jmes_expression}
${jmes_expression} = None
Sets variable based on the given condition.
${read_jmes_file} == ${true}
${jmes_expression}
${EMPTY}
${expression}
${expression} =
${jmes_expression} =
POST data to given URI, check status code and return response text.
uri=${uri}
data=${data}
content_type=${content_type}
accept=${accept}
session=${session}
jmes_path=${jmes_expression}
normalize_json=${normalize_json}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Logs the given message with the given level.
${uri}
/restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${data}
{
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261443"
]
}
}
Logs the given message with the given level.
${content_type}
{u'Content-Type': u'application/yang.data+json'}
Logs the given message with the given level.
${accept}
{}
Take two dicts, join them, return result. Second argument values take precedence.
first=${content_type}
second=${accept}
${headers}
Returns a copy of the given dictionary.
${first}
${accumulator}
${accumulator} = {u'Content-Type': u'application/yang.data+json'}
Returns items of the given ``dictionary``.
${second}
${items_to_add}
${items_to_add} = []
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${accumulator}
@{items_to_add}
Logs the given message with the given level.
${accumulator}
{u'Content-Type': u'application/yang.data+json'}
${headers} = {u'Content-Type': u'application/yang.data+json'}
Runs the given keyword with the given arguments, if ``condition`` is true.
"""${http_timeout}""" == """${EMPTY}"""
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
ELSE
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
${response}
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
No keyword with name 'RequestsLibrary.Post_Request' found.
${response} = None
Log response text, check status_code is one of allowed ones.
${response}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
Logs the given message with the given level.
${response.text}
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
Logs the given message with the given level.
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the specified keyword and returns from the enclosing user keyword.
"""${explicit_status_codes}""" != """${NO_STATUS_CODES}"""
Collections.List_Should_Contain_Value
${explicit_status_codes}
${response.status_code}
Combines the given ``lists`` together and returns the result.
${ALLOWED_STATUS_CODES}
${additional_allowed_status_codes}
${final_allowd_list}
${final_allowd_list} = [200, 201, 204]
Fails if the ``value`` is not found from ``list``.
${final_allowd_list}
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the given keyword with the given arguments, if ``condition`` is false.
${normalize_json}
BuiltIn.Return_From_Keyword
${response.text}
Attempt to return sorted indented JSON string.
${response.text}
jmes_path=${jmes_path}
${text_normalized}
${text_normalized} = None
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
${response_text} = None
${response_text} = None
Runs the given keyword with the given arguments, if ``condition`` is true.
${verify}
Verify_Response_As_Json_Templated
response=${response_text}
folder=${folder}
base_name=response
mapping=${mapping}
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Vpn_Basic
${dstdir} = /tmp/CSIT_Vpn_Basic
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Vpn_Basic
${dstdir} = /tmp/CSIT_Vpn_Basic
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:45 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:46 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:46 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 293 293
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 263 263
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 263 263
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 263 263
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 266 266
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite to validate vpnservice functionality in an openstack integrated environment.
The assumption of this suite is that the environment is already configured with the proper
integration bridges and vxlan tunnels.
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Recreate multiple extra route and check data path before L3VPN creation
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete the setup
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.VPN Delete L3VPN
vpnid=@{VPN_INSTANCE_IDS}[0]
Delete the created L3VPN
vpnid=@{VPN_INSTANCE_IDS}[0]
Add arguments sensible for JSON data, return Post_Templated response text.
folder=${VAR_BASE}/l3vpn_delete
mapping=${Kwargs}
session=default
http_timeout=${SESSION_TIMEOUT}
Resolve URI and data from folder, call Post_To_Uri, return response text.
folder=${folder}
base_name=data
extension=json
accept=${ACCEPT_EMPTY}
content_type=${HEADERS_YANG_JSON}
mapping=${mapping}
session=${session}
normalize_json=True
endline=${\n}
iterations=${iterations}
iter_start=${iter_start}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
base_name=location
extension=uri
mapping=${mapping}
${uri}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/location.uri
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/location.uri' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/location.uri
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri</a>'.
${template} = /restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${template}
/restconf/operations/neutronvpn:deleteL3VPN
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = /restconf/operations/neutronvpn:deleteL3VPN
Returning from the enclosing user keyword.
${uri} = /restconf/operations/neutronvpn:deleteL3VPN
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
name_prefix=post_
base_name=${base_name}
extension=${extension}
mapping=${mapping}
endline=${endline}
iterations=${iterations}
iter_start=${iter_start}
${data}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/post_data.json
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/post_data.json' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/post_data.json
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json</a>'.
${template} = {
"input":{
"id":[
"$vpnid"
]
}
}
Logs the given message with the given level.
${template}
{
"input":{
"id":[
"$vpnid"
]
}
}
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261661"
]
}
}
Returning from the enclosing user keyword.
${data} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261661"
]
}
}
Reads JMES path from file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/jmespath.expr if the file exists and
${folder}
${jmes_expression}
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${folder}${/}jmespath.expr
${read_jmes_file}
Fails unless the given ``path`` points to an existing file.
${folder}${/}jmespath.expr
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/jmespath.expr' does not exist.
${read_jmes_file} = False
Runs the given keyword with the given arguments, if ``condition`` is true.
${read_jmes_file} == ${true}
OperatingSystem.Get_File
${folder}${/}jmespath.expr
${jmes_expression}
${jmes_expression} = None
Sets variable based on the given condition.
${read_jmes_file} == ${true}
${jmes_expression}
${EMPTY}
${expression}
${expression} =
${jmes_expression} =
POST data to given URI, check status code and return response text.
uri=${uri}
data=${data}
content_type=${content_type}
accept=${accept}
session=${session}
jmes_path=${jmes_expression}
normalize_json=${normalize_json}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Logs the given message with the given level.
${uri}
/restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${data}
{
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261661"
]
}
}
Logs the given message with the given level.
${content_type}
{u'Content-Type': u'application/yang.data+json'}
Logs the given message with the given level.
${accept}
{}
Take two dicts, join them, return result. Second argument values take precedence.
first=${content_type}
second=${accept}
${headers}
Returns a copy of the given dictionary.
${first}
${accumulator}
${accumulator} = {u'Content-Type': u'application/yang.data+json'}
Returns items of the given ``dictionary``.
${second}
${items_to_add}
${items_to_add} = []
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${accumulator}
@{items_to_add}
Logs the given message with the given level.
${accumulator}
{u'Content-Type': u'application/yang.data+json'}
${headers} = {u'Content-Type': u'application/yang.data+json'}
Runs the given keyword with the given arguments, if ``condition`` is true.
"""${http_timeout}""" == """${EMPTY}"""
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
ELSE
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
${response}
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
No keyword with name 'RequestsLibrary.Post_Request' found.
${response} = None
Log response text, check status_code is one of allowed ones.
${response}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
Logs the given message with the given level.
${response.text}
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
Logs the given message with the given level.
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the specified keyword and returns from the enclosing user keyword.
"""${explicit_status_codes}""" != """${NO_STATUS_CODES}"""
Collections.List_Should_Contain_Value
${explicit_status_codes}
${response.status_code}
Combines the given ``lists`` together and returns the result.
${ALLOWED_STATUS_CODES}
${additional_allowed_status_codes}
${final_allowd_list}
${final_allowd_list} = [200, 201, 204]
Fails if the ``value`` is not found from ``list``.
${final_allowd_list}
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the given keyword with the given arguments, if ``condition`` is false.
${normalize_json}
BuiltIn.Return_From_Keyword
${response.text}
Attempt to return sorted indented JSON string.
${response.text}
jmes_path=${jmes_path}
${text_normalized}
${text_normalized} = None
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
${response_text} = None
${response_text} = None
Runs the given keyword with the given arguments, if ``condition`` is true.
${verify}
Verify_Response_As_Json_Templated
response=${response_text}
folder=${folder}
base_name=response
mapping=${mapping}
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.VPN Delete L3VPN
vpnid=@{VPN_INSTANCE_IDS}[1]
Delete the created L3VPN
vpnid=@{VPN_INSTANCE_IDS}[1]
Add arguments sensible for JSON data, return Post_Templated response text.
folder=${VAR_BASE}/l3vpn_delete
mapping=${Kwargs}
session=default
http_timeout=${SESSION_TIMEOUT}
Resolve URI and data from folder, call Post_To_Uri, return response text.
folder=${folder}
base_name=data
extension=json
accept=${ACCEPT_EMPTY}
content_type=${HEADERS_YANG_JSON}
mapping=${mapping}
session=${session}
normalize_json=True
endline=${\n}
iterations=${iterations}
iter_start=${iter_start}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
base_name=location
extension=uri
mapping=${mapping}
${uri}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/location.uri
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/location.uri' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/location.uri
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri</a>'.
${template} = /restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${template}
/restconf/operations/neutronvpn:deleteL3VPN
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = /restconf/operations/neutronvpn:deleteL3VPN
Returning from the enclosing user keyword.
${uri} = /restconf/operations/neutronvpn:deleteL3VPN
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
name_prefix=post_
base_name=${base_name}
extension=${extension}
mapping=${mapping}
endline=${endline}
iterations=${iterations}
iter_start=${iter_start}
${data}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/post_data.json
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/post_data.json' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/post_data.json
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json</a>'.
${template} = {
"input":{
"id":[
"$vpnid"
]
}
}
Logs the given message with the given level.
${template}
{
"input":{
"id":[
"$vpnid"
]
}
}
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261662"
]
}
}
Returning from the enclosing user keyword.
${data} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261662"
]
}
}
Reads JMES path from file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/jmespath.expr if the file exists and
${folder}
${jmes_expression}
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${folder}${/}jmespath.expr
${read_jmes_file}
Fails unless the given ``path`` points to an existing file.
${folder}${/}jmespath.expr
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/jmespath.expr' does not exist.
${read_jmes_file} = False
Runs the given keyword with the given arguments, if ``condition`` is true.
${read_jmes_file} == ${true}
OperatingSystem.Get_File
${folder}${/}jmespath.expr
${jmes_expression}
${jmes_expression} = None
Sets variable based on the given condition.
${read_jmes_file} == ${true}
${jmes_expression}
${EMPTY}
${expression}
${expression} =
${jmes_expression} =
POST data to given URI, check status code and return response text.
uri=${uri}
data=${data}
content_type=${content_type}
accept=${accept}
session=${session}
jmes_path=${jmes_expression}
normalize_json=${normalize_json}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Logs the given message with the given level.
${uri}
/restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${data}
{
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261662"
]
}
}
Logs the given message with the given level.
${content_type}
{u'Content-Type': u'application/yang.data+json'}
Logs the given message with the given level.
${accept}
{}
Take two dicts, join them, return result. Second argument values take precedence.
first=${content_type}
second=${accept}
${headers}
Returns a copy of the given dictionary.
${first}
${accumulator}
${accumulator} = {u'Content-Type': u'application/yang.data+json'}
Returns items of the given ``dictionary``.
${second}
${items_to_add}
${items_to_add} = []
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${accumulator}
@{items_to_add}
Logs the given message with the given level.
${accumulator}
{u'Content-Type': u'application/yang.data+json'}
${headers} = {u'Content-Type': u'application/yang.data+json'}
Runs the given keyword with the given arguments, if ``condition`` is true.
"""${http_timeout}""" == """${EMPTY}"""
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
ELSE
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
${response}
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
No keyword with name 'RequestsLibrary.Post_Request' found.
${response} = None
Log response text, check status_code is one of allowed ones.
${response}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
Logs the given message with the given level.
${response.text}
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
Logs the given message with the given level.
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the specified keyword and returns from the enclosing user keyword.
"""${explicit_status_codes}""" != """${NO_STATUS_CODES}"""
Collections.List_Should_Contain_Value
${explicit_status_codes}
${response.status_code}
Combines the given ``lists`` together and returns the result.
${ALLOWED_STATUS_CODES}
${additional_allowed_status_codes}
${final_allowd_list}
${final_allowd_list} = [200, 201, 204]
Fails if the ``value`` is not found from ``list``.
${final_allowd_list}
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the given keyword with the given arguments, if ``condition`` is false.
${normalize_json}
BuiltIn.Return_From_Keyword
${response.text}
Attempt to return sorted indented JSON string.
${response.text}
jmes_path=${jmes_path}
${text_normalized}
${text_normalized} = None
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
${response_text} = None
${response_text} = None
Runs the given keyword with the given arguments, if ``condition`` is true.
${verify}
Verify_Response_As_Json_Templated
response=${response_text}
folder=${folder}
base_name=response
mapping=${mapping}
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.VPN Delete L3VPN
vpnid=@{VPN_INSTANCE_IDS}[2]
Delete the created L3VPN
vpnid=@{VPN_INSTANCE_IDS}[2]
Add arguments sensible for JSON data, return Post_Templated response text.
folder=${VAR_BASE}/l3vpn_delete
mapping=${Kwargs}
session=default
http_timeout=${SESSION_TIMEOUT}
Resolve URI and data from folder, call Post_To_Uri, return response text.
folder=${folder}
base_name=data
extension=json
accept=${ACCEPT_EMPTY}
content_type=${HEADERS_YANG_JSON}
mapping=${mapping}
session=${session}
normalize_json=True
endline=${\n}
iterations=${iterations}
iter_start=${iter_start}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
base_name=location
extension=uri
mapping=${mapping}
${uri}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/location.uri
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/location.uri' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/location.uri
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri</a>'.
${template} = /restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${template}
/restconf/operations/neutronvpn:deleteL3VPN
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = /restconf/operations/neutronvpn:deleteL3VPN
Returning from the enclosing user keyword.
${uri} = /restconf/operations/neutronvpn:deleteL3VPN
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
name_prefix=post_
base_name=${base_name}
extension=${extension}
mapping=${mapping}
endline=${endline}
iterations=${iterations}
iter_start=${iter_start}
${data}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/post_data.json
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/post_data.json' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/post_data.json
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json</a>'.
${template} = {
"input":{
"id":[
"$vpnid"
]
}
}
Logs the given message with the given level.
${template}
{
"input":{
"id":[
"$vpnid"
]
}
}
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261663"
]
}
}
Returning from the enclosing user keyword.
${data} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261663"
]
}
}
Reads JMES path from file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/jmespath.expr if the file exists and
${folder}
${jmes_expression}
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${folder}${/}jmespath.expr
${read_jmes_file}
Fails unless the given ``path`` points to an existing file.
${folder}${/}jmespath.expr
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/jmespath.expr' does not exist.
${read_jmes_file} = False
Runs the given keyword with the given arguments, if ``condition`` is true.
${read_jmes_file} == ${true}
OperatingSystem.Get_File
${folder}${/}jmespath.expr
${jmes_expression}
${jmes_expression} = None
Sets variable based on the given condition.
${read_jmes_file} == ${true}
${jmes_expression}
${EMPTY}
${expression}
${expression} =
${jmes_expression} =
POST data to given URI, check status code and return response text.
uri=${uri}
data=${data}
content_type=${content_type}
accept=${accept}
session=${session}
jmes_path=${jmes_expression}
normalize_json=${normalize_json}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Logs the given message with the given level.
${uri}
/restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${data}
{
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261663"
]
}
}
Logs the given message with the given level.
${content_type}
{u'Content-Type': u'application/yang.data+json'}
Logs the given message with the given level.
${accept}
{}
Take two dicts, join them, return result. Second argument values take precedence.
first=${content_type}
second=${accept}
${headers}
Returns a copy of the given dictionary.
${first}
${accumulator}
${accumulator} = {u'Content-Type': u'application/yang.data+json'}
Returns items of the given ``dictionary``.
${second}
${items_to_add}
${items_to_add} = []
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${accumulator}
@{items_to_add}
Logs the given message with the given level.
${accumulator}
{u'Content-Type': u'application/yang.data+json'}
${headers} = {u'Content-Type': u'application/yang.data+json'}
Runs the given keyword with the given arguments, if ``condition`` is true.
"""${http_timeout}""" == """${EMPTY}"""
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
ELSE
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
${response}
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
No keyword with name 'RequestsLibrary.Post_Request' found.
${response} = None
Log response text, check status_code is one of allowed ones.
${response}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
Logs the given message with the given level.
${response.text}
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
Logs the given message with the given level.
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the specified keyword and returns from the enclosing user keyword.
"""${explicit_status_codes}""" != """${NO_STATUS_CODES}"""
Collections.List_Should_Contain_Value
${explicit_status_codes}
${response.status_code}
Combines the given ``lists`` together and returns the result.
${ALLOWED_STATUS_CODES}
${additional_allowed_status_codes}
${final_allowd_list}
${final_allowd_list} = [200, 201, 204]
Fails if the ``value`` is not found from ``list``.
${final_allowd_list}
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the given keyword with the given arguments, if ``condition`` is false.
${normalize_json}
BuiltIn.Return_From_Keyword
${response.text}
Attempt to return sorted indented JSON string.
${response.text}
jmes_path=${jmes_path}
${text_normalized}
${text_normalized} = None
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
${response_text} = None
${response_text} = None
Runs the given keyword with the given arguments, if ``condition`` is true.
${verify}
Verify_Response_As_Json_Templated
response=${response_text}
folder=${folder}
base_name=response
mapping=${mapping}
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Vpn_Basic_Ipv6
${dstdir} = /tmp/CSIT_Vpn_Basic_Ipv6
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic_Ipv6
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic_Ipv6 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Vpn_Basic_Ipv6
${dstdir} = /tmp/CSIT_Vpn_Basic_Ipv6
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic_Ipv6
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Vpn_Basic_Ipv6 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:53 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:54 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:18:54 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Vpn Basic Ipv6/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 292 292
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 292 292
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 292 292
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 265 265
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 265 265
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 265 265
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite to validate IPv6 vpnservice functionality in an Openstack integrated environment.
The assumption of this suite is that the environment is already configured with the proper
integration bridges and vxlan tunnels.
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify Flow Table and Datapath
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify datapath after OVS restart
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify datapath after recreating Vm instance
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify Flow table after all VM instance deleted
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify Flow Table and Data path for Multiple ELAN with Multiple DPN
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Elan
${dstdir} = /tmp/CSIT_Elan
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Elan
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Elan 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Elan
${dstdir} = /tmp/CSIT_Elan
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Elan
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Elan 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:02 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:02 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:03 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Elan/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 291 291
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 291 291
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 291 291
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite to validate elan service functionality in ODL environment.
The assumption of this suite is that the environment is already configured with the proper
integration bridges and vxlan tunnels.
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify that VMs received ip and ping is happening between different VM
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify that GARP request are sent to controller
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Verify that after migration of movable ip across compute nodes, the controller updates the routes
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Delete the setup
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.Dissociate L3VPN From Networks
networkid=${NET_ID}
vpnid=@{VPN_INSTANCE_IDS}[0]
Disssociate the already associated networks from L3VPN
networkid=${NET_ID}
vpnid=@{VPN_INSTANCE_IDS}[0]
Variable '${NET_ID}' not found. Did you mean:
${NET_2_SEGID}
${NET_1_SEGID}
${NET_2}
${NET_1}
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.Dissociate VPN to Router
routerid=${ROUTER_ID}
vpnid=@{VPN_INSTANCE_IDS}[0]
Dissociate the already associated routers from L3VPN
routerid=${ROUTER_ID}
vpnid=@{VPN_INSTANCE_IDS}[0]
Variable '${ROUTER_ID}' not found. Did you mean:
${ROUTER}
Runs the given keyword with the given arguments and ignores possible error.
VpnOperations.VPN Delete L3VPN
vpnid=@{VPN_INSTANCE_IDS}[0]
Delete the created L3VPN
vpnid=@{VPN_INSTANCE_IDS}[0]
Add arguments sensible for JSON data, return Post_Templated response text.
folder=${VAR_BASE}/l3vpn_delete
mapping=${Kwargs}
session=default
http_timeout=${SESSION_TIMEOUT}
Resolve URI and data from folder, call Post_To_Uri, return response text.
folder=${folder}
base_name=data
extension=json
accept=${ACCEPT_EMPTY}
content_type=${HEADERS_YANG_JSON}
mapping=${mapping}
session=${session}
normalize_json=True
endline=${\n}
iterations=${iterations}
iter_start=${iter_start}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
base_name=location
extension=uri
mapping=${mapping}
${uri}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/location.uri
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/location.uri' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/location.uri
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/location.uri</a>'.
${template} = /restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${template}
/restconf/operations/neutronvpn:deleteL3VPN
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = /restconf/operations/neutronvpn:deleteL3VPN
Returning from the enclosing user keyword.
${uri} = /restconf/operations/neutronvpn:deleteL3VPN
Read a template from folder, strip endline, make changes according to mapping, return the result.
folder=${folder}
name_prefix=post_
base_name=${base_name}
extension=${extension}
mapping=${mapping}
endline=${endline}
iterations=${iterations}
iter_start=${iter_start}
${data}
Runs the specified keyword and returns from the enclosing user keyword.
not "${iterations}"
Resolve_Text_From_Template_File
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Check if /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name} exists. If yes read and Log contents of file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/${file_name},
folder=${folder}
file_name=${name_prefix}${base_name}.${extension}
mapping=${mapping}
Returns the given values which can then be assigned to a variables.
${folder}.${ODL_STREAM}${/}${file_name}
${file_path_stream}
${file_path_stream} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete.oxygen/post_data.json
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${file_path_stream}
${file_stream_exists}
Fails unless the given ``path`` points to an existing file.
${file_path_stream}
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete.oxygen/post_data.json' does not exist.
${file_stream_exists} = False
Sets variable based on the given condition.
${file_stream_exists}
${file_path_stream}
${folder}${/}${file_name}
${file_path}
${file_path} = /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/post_data.json
Returns the contents of a specified file.
${file_path}
${template}
Getting file '<a href="file:///home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json">/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/post_data.json</a>'.
${template} = {
"input":{
"id":[
"$vpnid"
]
}
}
Logs the given message with the given level.
${template}
{
"input":{
"id":[
"$vpnid"
]
}
}
Evaluates the given expression in Python and returns the results.
string.Template('''${template}'''.rstrip()).safe_substitute(${mapping})
modules=string
${final_text}
${final_text} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261111"
]
}
}
Returning from the enclosing user keyword.
${data} = {
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261111"
]
}
}
Reads JMES path from file /home/opnfv/repos/odl_test/csit/libraries/../variables/vpnservice//l3vpn_delete/jmespath.expr if the file exists and
${folder}
${jmes_expression}
Runs the given keyword with given arguments and returns the status as a Boolean value.
OperatingSystem.File Should Exist
${folder}${/}jmespath.expr
${read_jmes_file}
Fails unless the given ``path`` points to an existing file.
${folder}${/}jmespath.expr
File '/home/opnfv/repos/odl_test/csit/variables/vpnservice/l3vpn_delete/jmespath.expr' does not exist.
${read_jmes_file} = False
Runs the given keyword with the given arguments, if ``condition`` is true.
${read_jmes_file} == ${true}
OperatingSystem.Get_File
${folder}${/}jmespath.expr
${jmes_expression}
${jmes_expression} = None
Sets variable based on the given condition.
${read_jmes_file} == ${true}
${jmes_expression}
${EMPTY}
${expression}
${expression} =
${jmes_expression} =
POST data to given URI, check status code and return response text.
uri=${uri}
data=${data}
content_type=${content_type}
accept=${accept}
session=${session}
jmes_path=${jmes_expression}
normalize_json=${normalize_json}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
http_timeout=${http_timeout}
${response_text}
Logs the given message with the given level.
${uri}
/restconf/operations/neutronvpn:deleteL3VPN
Logs the given message with the given level.
${data}
{
"input":{
"id":[
"4ae8cd92-48ca-49b5-94e1-b2921a261111"
]
}
}
Logs the given message with the given level.
${content_type}
{u'Content-Type': u'application/yang.data+json'}
Logs the given message with the given level.
${accept}
{}
Take two dicts, join them, return result. Second argument values take precedence.
first=${content_type}
second=${accept}
${headers}
Returns a copy of the given dictionary.
${first}
${accumulator}
${accumulator} = {u'Content-Type': u'application/yang.data+json'}
Returns items of the given ``dictionary``.
${second}
${items_to_add}
${items_to_add} = []
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${accumulator}
@{items_to_add}
Logs the given message with the given level.
${accumulator}
{u'Content-Type': u'application/yang.data+json'}
${headers} = {u'Content-Type': u'application/yang.data+json'}
Runs the given keyword with the given arguments, if ``condition`` is true.
"""${http_timeout}""" == """${EMPTY}"""
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
ELSE
RequestsLibrary.Post_Request
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
${response}
alias=${session}
uri=${uri}
data=${data}
headers=${headers}
timeout=${http_timeout}
No keyword with name 'RequestsLibrary.Post_Request' found.
${response} = None
Log response text, check status_code is one of allowed ones.
${response}
additional_allowed_status_codes=${additional_allowed_status_codes}
explicit_status_codes=${explicit_status_codes}
Logs the given message with the given level.
${response.text}
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
Logs the given message with the given level.
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the specified keyword and returns from the enclosing user keyword.
"""${explicit_status_codes}""" != """${NO_STATUS_CODES}"""
Collections.List_Should_Contain_Value
${explicit_status_codes}
${response.status_code}
Combines the given ``lists`` together and returns the result.
${ALLOWED_STATUS_CODES}
${additional_allowed_status_codes}
${final_allowd_list}
${final_allowd_list} = [200, 201, 204]
Fails if the ``value`` is not found from ``list``.
${final_allowd_list}
${response.status_code}
Resolving variable '${response.status_code}' failed: AttributeError: 'NoneType' object has no attribute 'status_code'
Runs the given keyword with the given arguments, if ``condition`` is false.
${normalize_json}
BuiltIn.Return_From_Keyword
${response.text}
Attempt to return sorted indented JSON string.
${response.text}
jmes_path=${jmes_path}
${text_normalized}
${text_normalized} = None
Resolving variable '${response.text}' failed: AttributeError: 'NoneType' object has no attribute 'text'
${response_text} = None
${response_text} = None
Runs the given keyword with the given arguments, if ``condition`` is true.
${verify}
Verify_Response_As_Json_Templated
response=${response_text}
folder=${folder}
base_name=response
mapping=${mapping}
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Arp_Learning
${dstdir} = /tmp/CSIT_Arp_Learning
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Arp_Learning
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Arp_Learning 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_Arp_Learning
${dstdir} = /tmp/CSIT_Arp_Learning
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Arp_Learning
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_Arp_Learning 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:10 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:10 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:11 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.Arp Learning/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 290 290
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 290 290
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 290 290
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test suite for ARP Request. More test cases to be added in subsequent patches.
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test Suite for Gateway mac based L2L3 seggragation
Wrapper teardown keyword that can be used in any suite running in an openstack environement
Prepare both FailFast and Karaf logging, log that the caller suite has started.
Set suite to not fail fast.
Makes a variable available everywhere within the scope of the current suite.
${SuiteFastFail}
False
${SuiteFastFail} = False
Initialize ClusterManagement. Open ssh karaf connections to each ODL.
http_timeout=${http_timeout}
Detect repeated call, or detect number of members and initialize derived suite variables.
http_timeout=${http_timeout}
Returns variable value or ``default`` if the variable does not exist.
\${ClusterManagement__has_setup_run}
False
${already_done}
${already_done} = False
Returns from the enclosing user keyword if ``condition`` is true.
${already_done}
Makes a variable available everywhere within the scope of the current suite.
\${ClusterManagement__has_setup_run}
True
${ClusterManagement__has_setup_run} = True
Returns variable value or ``default`` if the variable does not exist.
\${NUM_ODL_SYSTEM}
1
${cluster_size}
${cluster_size} = 3
Runs the given keyword with the given arguments and ignores possible error.
BuiltIn.Convert_To_Integer
${cluster_size}
${status}
${possibly_int_of_members}
Converts the given item to an integer number.
${cluster_size}
${status} = PASS
${possibly_int_of_members} = 3
Sets variable based on the given condition.
'${status}' != 'PASS'
${1}
${possibly_int_of_members}
${int_of_members}
${int_of_members} = 3
Construct index list, session list and IP mapping, publish them as suite variables.
int_of_members=${int_of_members}
http_timeout=${http_timeout}
http_retries=${http_retries}
Returns a list containing given items.
@{member_index_list}
@{member_index_list} = [ ]
Returns a list containing given items.
@{session_list}
@{session_list} = [ ]
Creates and returns a dictionary based on the given ``items``.
&{index_to_ip_mapping}
&{index_to_ip_mapping} = { }
Add a corresponding item based on index into the last three arguments.
${index}
${member_index_list}
${session_list}
${index_to_ip_mapping}
http_timeout=${http_timeout}
http_retries=${http_retries}
Adds ``values`` to the end of ``list``.
${member_index_list}
${index}
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${member_ip}
${member_ip} = 192.0.2.17
Adds the given ``key_value_pairs`` and ``items`` to the ``dictionary``.
${index_to_ip_mapping}
${index}
${member_ip}
Return RequestsLibrary session alias pointing to node of given index.
member_index=${index}
${session_alias}
Returns the given values which can then be assigned to a variables.
ClusterManagement__session_${member_index}
${session}
${session} = ClusterManagement__session_1
${session_alias} = ClusterManagement__session_1
${session_alias}
http://${member_ip}:${RESTCONFPORT}
auth=${AUTH}
timeout=${http_timeout}
max_retries=${http_retries}
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify there should be an entry for table=17,in the table=19 DUMP_FLOWS
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify the end to end pipeline flow from table=17 to table=19 DUMP_FLOWS
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To verify the ARP Request and ARP response entry should be there after the dump_groups and dispatcher table should point to ARP responder
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify there should not be an entry for the arp_responder_table in table=17
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify the one or more default gateway mac enteries on the table=19 flows that points to FIB table 21
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify the default flow entry of table=81 drops when openflow controller connected to compute node
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify the entry of ARP request(arp=1) and ARP response(arp=2) in table=19
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify gateway mac entires are populated with neutron router mac address for network with vpn dissociation from router
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
To Verify gateway mac entires are populated with port MAC address for network with vpn association to router
Parent suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Wrapper teardown keyword that can be used in any suite running in an openstack environement
test_name=${SUITE_NAME}
fail=False
Get all results provided by ODLTools
test_name=${test_name}
Get ODL Cluster related information like transaction counts, commit rates, etc.
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.17 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.14 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Returns the given values which can then be assigned to a variables.
odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
${cmd}
${cmd} = odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM
Runs the given command in the system and returns the output.
${cmd}
${output}
Running command 'odltools show cluster-info -i 192.0.2.9 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM 2>&1'.
${output} = sh: odltools: command not found
Logs the given message with the given level.
output: ${output}
output: sh: odltools: command not found
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Get EOS
${HA_PROXY_IP}
test_name=${test_name}
Get the various ODL entity ownership information
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_L2L3_Gatewaymac_Arp
${dstdir} = /tmp/CSIT_L2L3_Gatewaymac_Arp
Returns the given values which can then be assigned to a variables.
odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2L3_Gatewaymac_Arp
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools show eos -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2L3_Gatewaymac_Arp 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Runs the given keyword with the given arguments and ignores possible error.
ODLTools.Analyze Tunnels
${HA_PROXY_IP}
test_name=${test_name}
Analyze Tunnel Mesh creation for any errors and log results
${HA_PROXY_IP}
test_name=${test_name}
Get odltools path for a given test case
${test_name}
${dstdir}
Evaluates the given expression in Python and returns the results.
"""${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
${tmpdir}
${tmpdir} = CSIT_L2L3_Gatewaymac_Arp
${dstdir} = /tmp/CSIT_L2L3_Gatewaymac_Arp
Returns the given values which can then be assigned to a variables.
odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir}
${cmd}
${cmd} = odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2L3_Gatewaymac_Arp
Runs the given command in the system and returns the RC and output.
${cmd}
${rc}
${output}
Running command 'odltools analyze tunnels -i 192.0.2.10 -t 8081 -u admin -w vHKG6cwypQQHCVvuJXhgNhexM --path /tmp/CSIT_L2L3_Gatewaymac_Arp 2>&1'.
${rc} = 127
${output} = sh: odltools: command not found
Logs the given message with the given level.
rc: ${rc}, output: ${output}
rc: 127, output: sh: odltools: command not found
Fails if the given condition is not true.
'${rc}' == '0'
''127' == '0'' should be true.
Get the OvsConfig and Flow entries from all Openstack nodes
Variable '@{OS_ALL_CONN_IDS}' not found.
Runs the given keyword with the given arguments and ignores possible error.
DataModels.Get Model Dump
${HA_PROXY_IP}
${netvirt_data_models}
Will output a list of mdsal models using ${data_models} list
${HA_PROXY_IP}
${netvirt_data_models}
model_dump_session
http://${controller_ip}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS}
timeout=1
max_retries=0
No keyword with name 'Create Session' found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
model_dump_session
restconf/${model}
${resp}=
No keyword with name 'RequestsLibrary.Get Request' found.
${resp.content}
pretty_print=True
${pretty_output}=
No keyword with name 'To Json' found. Did you mean:
HttpLibrary.HTTP.Log Json
Logs the given message with the given level.
${pretty_output}
Variable '${pretty_output}' not found.
Create a failure if an Exception is found in the karaf.log that has not been whitelisted.
${test_name}
fail=${fail}
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.17" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 4
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.17:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:18 2018 from 192.0.2.99
[heat-admin@overcloud-controller-2 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.14" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 6
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.14:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:18 2018 from 192.0.2.99
[heat-admin@overcloud-controller-0 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Returns the given values which can then be assigned to a variables.
sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
${cmd}
${cmd} = sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log
Scrapes all log messages that match regexp ${type} which fall after a point given by a log message that
${ODL_SYSTEM_${i}_IP}
${test_name}
${cmd}
${output}
Call Run Comand On Remote System, but with default values suitable for Controller machine.
${ip}
${cmd}
${user}
${password}
${prompt}
${output}
Runs the specified keyword and returns from the enclosing user keyword.
Run Command On Remote System
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Reduces the common work of running a command on a remote system to a single higher level
${system}
${cmd}
${user}
${password}
prompt=${prompt}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True" and "${return_stderr}"!="True"
Fail
At least one of {return_stdout} or {return_stderr} args should be set to True
Returns information about the connection.
${current_ssh_connection}
index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
${current_ssh_connection} = index=None
path_separator=/
prompt=None
width=80
newline=
height=24
encoding=utf8
alias=None
host=None
timeout=3 seconds
term_type=vt100
port=22
Logs the given message with the given level.
Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"
Attempting to execute command "sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log" on remote system "192.0.2.9" by user "heat-admin" with keyfile pass "any" and prompt "$" and password ""
Opens a new SSH connection to the given ``host`` and ``port``.
${system}
prompt=${prompt}
timeout=${prompt_timeout}
${conn_id}
${conn_id} = 8
On active SSH session: if given non-empty password, do Login, else do Login With Public Key.
${user}
${password}
Returns and logs the length of the given item as an integer.
${password}
${pwd_length}
Length is 0
${pwd_length} = 0
Runs the specified keyword and returns from the enclosing user keyword.
${pwd_length} > 0
SSHLibrary.Login
${user}
${password}
delay=${delay}
Runs the specified keyword and returns from the enclosing user keyword.
SSHLibrary.Login With Public Key
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logs into the SSH server using key-based authentication.
${user}
${USER_HOME}/.ssh/${SSH_KEY}
${KEYFILE_PASS}
delay=${delay}
Logging into '192.0.2.9:22' as 'heat-admin'.
Read output: Last login: Tue Aug 21 21:19:19 2018 from 192.0.2.99
[heat-admin@overcloud-controller-1 ~]$
Returning from the enclosing user keyword.
Executes ``command`` on the remote machine and returns its outputs.
${cmd}
return_stderr=True
${stdout}
${stderr}
Executing command 'sed '1,/ROBOT MESSAGE: Starting test CSIT.L2L3 Gatewaymac Arp/d' /tmp//opt/opendaylight/data/log/karaf.log'.
Command exited with return code 2.
${stdout} =
${stderr} = sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Closes the current connection.
Logs the given message with the given level.
${stderr}
sed: can't read /tmp//opt/opendaylight/data/log/karaf.log: No such file or directory
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stdout}"!="True"
Return From Keyword
${stderr}
Runs the given keyword with the given arguments, if ``condition`` is true.
"${return_stderr}"!="True"
Return From Keyword
${stdout}
Returns from the enclosing user keyword.
${stdout}
Returning from the enclosing user keyword.
Restore active SSH connection in SSHLibrary to given index.
${current_ssh_connection.index}
Runs the specified keyword and returns from the enclosing user keyword.
${connection_index} is not None
SSHLibrary.Switch Connection
${connection_index}
Opens a new SSH connection to the given ``host`` and ``port``.
127.0.0.1
Closes the current connection.
Returning from the enclosing user keyword.
${output} =
Splits the ``string`` using ``separator`` as a delimiter string.
${output}
${\n}
@{log_lines}
@{log_lines} = [ ]
${output} = [u'']
Return a list of exceptions not in the whitelist for the given lines.
${output}
${exlist}
${matchlist}
${exlist} = []
${matchlist} = []
Write the exceptions map to a file under the testname header. The output
${SUITE_NAME}.${TEST_NAME}
/tmp/odl${i}_exceptions.txt
Returns and logs the length of the given item as an integer.
${exlist}
${listlength}
Length is 0
${listlength} = 0
Runs the given keyword with the given arguments, if ``condition`` is true.
"${fail}"=="True" and ${listlength} != 0
Log And Fail Exceptions
${exlist}
${listlength}
ELSE
Collections.Log List
${matchlist}
Logs the length and contents of the ``list`` using given ``level``.
${matchlist}
List is empty.
Cleanup all Openstack resources with best effort. The keyword will query for all resources
Return a json list from the output of an OpenStack command.
openstack floating ip list -f json
@{fips}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack floating ip list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{fips} = [ ]
Return a json list from the output of an OpenStack command.
openstack server list -f json
@{vms}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack server list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{vms} = [ ]
Return a json list from the output of an OpenStack command.
openstack router list -f json
@{routers}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack router list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{routers} = [ ]
Return a json list from the output of an OpenStack command.
openstack port list -f json
@{ports}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack port list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{ports} = [ ]
Return a json list from the output of an OpenStack command.
openstack network list -f json
@{networks}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack network list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{networks} = [ ]
Return a json list from the output of an OpenStack command.
openstack security group list -f json
@{security_groups}
Returns a list containing given items.
@{list}
@{list} = [ ]
Run the given OpenStack openstack security group list -f json and log the output.
${cmd}
${json}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list -f json
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${json} =
${json}
@{list} =
No keyword with name 'RequestsLibrary.To Json' found.
Logs the given message with the given level.
${list}
[]
@{security_groups} = [ ]
Get a list of different OpenStack resources that might be in use.
Returns a list containing given items.
server
port
network
subnet
security group
security group rule
floating ip
router
@{modules}
@{modules} = [ server | port | network | subnet | security group | security group rule | floating ip | router ]
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack server list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack port list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack network list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack subnet list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack security group rule list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack floating ip list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
Run the given OpenStack ${cmd} and log the output.
openstack ${module} list
${output}
Runs a process and waits for it to complete.
${cmd}
shell=True
${result}
Starting process:
openstack router list
Waiting for process to complete.
Process completed.
${result} = <result object with rc 1>
Logs the given message with the given level.
${result.stdout}
Logs the given message with the given level.
${result.stderr}
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 22, in <module>
from osc_lib.api import auth
File "/usr/lib/python2.7/site-packages/osc_lib/api/auth.py", line 19, in <module>
from keystoneauth1.loading import base
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 13, in <module>
from keystoneauth1.loading import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 13, in <module>
from keystoneauth1 import adapter
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 16, in <module>
from keystoneauth1 import session
File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 25, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
ImportError: No module named chardet
Fails if the given condition is not true.
'${result.rc}' == '0'
''1' == '0'' should be true.
${output} =
${tcpdump_port_6653_conn_ids}
Variable '${tcpdump_port_6653_conn_ids}' not found.
Closes all open connections.
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.17:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 290 290
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 290 290
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 290 290
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.14:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 261 261
[?1h=[?2004hopendaylight-user@root>
Will execute the given ${cmd} by ssh'ing to the karaf console running on 192.0.2.17
threads --list | wc -l
${ODL_SYSTEM_${i+1}_IP}
Opens a new SSH connection to the given ``host`` and ``port``.
${controller}
port=${karaf_port}
prompt=${KARAF_PROMPT_LOGIN}
timeout=${timeout}
Logs into the SSH server with the given ``username`` and ``password``.
${KARAF_USER}
${KARAF_PASSWORD}
loglevel=${loglevel}
Logging into '192.0.2.9:8101' as 'karaf'.
Read output: [33m
[33m ________ ________ .__ .__ .__ __
[33m \_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
[33m / | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
[33m / | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
[33m \_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
[33m \/|__| \/ \/ \/ \/\/ /_____/ \/
[33m
Hit '[1m<tab>[0m' for a list of available commands
and '[1m[cmd] --help[0m' for help on a specific command.
Hit '[1m<ctrl-d>[0m' or type '[1msystem:shutdown[0m' or '[1mlogout[0m' to shutdown OpenDaylight.
[?1h=[?2004hopendaylight-user
Writes the given ``text`` on the remote machine and appends a newline.
${cmd}
@root>threads --list | 0[C 0w[Kc -l
Consumes and returns the server output until a match to ``regexp`` is found.
${KARAF_PROMPT}
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
${output} = [?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Writes the given ``text`` on the remote machine and appends a newline.
logout
logout
Closes the current connection.
Logs the given message with the given level.
${output}
[?1l>[?2004l 262 262
[?1h=[?2004hopendaylight-user@root>
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Test Suite for Gateway mac based L2L3 seggragation
Suite setup failed:
No keyword with name 'RequestsLibrary.Create_Session' found.
Also suite teardown failed:
Several failures occurred:
1) Variable '@{OS_ALL_CONN_IDS}' not found.
2) ''1' == '0'' should be true.
3) No keyword with name 'RequestsLibrary.To Json' found.
4) ''1' == '0'' should be true.
5) No keyword with name 'RequestsLibrary.To Json' found.
6) ''1' == '0'' should be true.
7) No keyword with name 'RequestsLibrary.To Json' found.
8) ''1' == '0'' should be true.
9) No keyword with name 'RequestsLibrary.To Json' found.
[ Message content over the limit has been removed. ]
13) No keyword with name 'RequestsLibrary.To Json' found.
14) ''1' == '0'' should be true.
15) ''1' == '0'' should be true.
16) ''1' == '0'' should be true.
17) ''1' == '0'' should be true.
18) ''1' == '0'' should be true.
19) ''1' == '0'' should be true.
20) ''1' == '0'' should be true.
21) ''1' == '0'' should be true.
22) Variable '${tcpdump_port_6653_conn_ids}' not found.
Runs the given keyword with the given arguments and ignores possible error.
CheckJVMResource.Create JVM Plots
Draw Resource usage plot using plot_points method.
Returns the given values which can then be assigned to a variables.
${ODL_SYSTEM_${index}_IP}
${controller-ip}
${controller-ip} = 192.0.2.17
Logs the given message with the given level.
${controller-ip}
192.0.2.17
${controller-ip}
${elastic-port}
${session}
No keyword with name 'ElasticsearchAppender.Get_Connection' found.
Test suite to Plot JVM Resources
Critical Tests
All Tests
Regression
skip_if_conntrack
skip_if_stateful
CSIT
CSIT.L2
CSIT.L3
CSIT.External Network
CSIT.Security Group
CSIT.Neutron Security Group
CSIT.Security Group L3Bcast
CSIT.Vpn Basic
CSIT.Vpn Basic Ipv6
CSIT.Elan
CSIT.Arp Learning
CSIT.L2L3 Gatewaymac Arp
CSIT.Create JVM Plots
Error in file '/home/opnfv/repos/odl_test/csit/suites/openstack/connectivity/l2.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/openstack/connectivity/l3.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/openstack/connectivity/external_network.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/openstack/connectivity/security_group.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/openstack/securitygroup/neutron_security_group.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/openstack/securitygroup/security_group_l3bcast.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/netvirt/vpnservice/vpn_basic.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/netvirt/vpnservice/vpn_basic_ipv6.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/netvirt/elan/elan.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/netvirt/vpnservice/arp_learning.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/suites/netvirt/l2l3_gatewaymac_arp.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/Utils.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/UtilLibrary.py", line 1, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/TemplatedRequests.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DevstackUtils.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OpenStackOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/DataModels.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/ClusterManagement.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/L2GatewayOperations.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/OVSDB.robot': Importing test library 'RequestsLibrary' failed: ImportError: No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/RequestsLibrary/__init__.py", line 1, in <module>
from .RequestsKeywords import RequestsKeywords
File "/usr/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 4, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 35, in <module>
import chardet
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
Error in file '/home/opnfv/repos/odl_test/csit/libraries/CheckJVMResource.robot': Importing test library '/home/opnfv/repos/odl_test/csit/libraries/Appenders/ElasticsearchAppender.py' failed: ImportError: No module named elasticsearch
Traceback (most recent call last):
File "/home/opnfv/repos/odl_test/csit/libraries/Appenders/ElasticsearchAppender.py", line 34, in <module>
from elasticsearch import Elasticsearch
PYTHONPATH:
/usr/bin
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages