From eb5556e1fb8ce40d7fc48872d1420e57b1cffc65 Mon Sep 17 00:00:00 2001 From: beierlm Date: Wed, 12 May 2021 04:53:49 -0400 Subject: [PATCH] Server list info when waiting NS Adds output of opentstack server list to the check for ns instance so that way we can see if there is any mismatch between the state of Openstack and the LCM. Change-Id: I3c7a47b254c9ded037a8bbcc44d7b0f8e8e6d92a Signed-off-by: beierlm --- robot-systest/lib/ns_lib.robot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/robot-systest/lib/ns_lib.robot b/robot-systest/lib/ns_lib.robot index ed6e699..0747bc1 100644 --- a/robot-systest/lib/ns_lib.robot +++ b/robot-systest/lib/ns_lib.robot @@ -118,6 +118,8 @@ Get Vnf Ip List Check For Ns Instance To Configured [arguments] ${ns_name} + ${rc} ${stdout}= Run and Return RC and Output openstack server list + log ${stdout} ${rc} ${stdout}= run and return rc and output osm ns-list --filter name="${ns_name}" log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} @@ -126,6 +128,8 @@ Check For Ns Instance To Configured Check For NS Instance For Failure [Arguments] ${ns_name} + ${rc} ${stdout}= Run and Return RC and Output openstack server list + log ${stdout} ${rc} ${stdout}= Run and Return RC and Output osm ns-list --filter name="${ns_name}" log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} @@ -134,6 +138,8 @@ Check For NS Instance For Failure Check For NS Instance To Be Deleted [Arguments] ${ns} + ${rc} ${stdout}= Run and Return RC and Output openstack server list + log ${stdout} ${rc} ${stdout}= Run and Return RC and Output osm ns-list | awk '{print $2}' | grep ${ns} Should Not Be Equal As Strings ${stdout} ${ns} -- 2.17.1