Do not fail test case when no vpp pid detected in the tear down 96/6896/5
authorJan Gelety <jgelety@cisco.com>
Mon, 29 May 2017 10:07:58 +0000 (12:07 +0200)
committerJan Gelety <jgelety@cisco.com>
Tue, 30 May 2017 10:01:08 +0000 (10:01 +0000)
commit43e7440a3fea2125ecb8d6d1f4ee7f69bbf9f3ac
tree0e2156f882bd6fd03f8a40a9253fd65a02e2256f
parent39311c05e6a056a3f33ec2cf050a00665c8f4540
Do not fail test case when no vpp pid detected in the tear down

- currently when no pid (or more pids) detected in the test case
  tear down of successfully run test case not only the WARN message
  is logged but the whole test case is failed

- to change this behaviour but keep test case failure if no vpp pid
  (or more vpp pids) detected in test case setup the low level KW
  "Get VPP PID" behaviour has been changed to return one or more
  pids or None w/o raising an error and check has been moved to
  higher level KW "Save VPP PIDs"

- there was added suite name and test case name to WARN message when
  no pid or more pids detected in the test case tear down

Change-Id: I04f8d81c1ca48a1e4a45bd0e58f00d36d51c6933
Signed-off-by: Jan Gelety <jgelety@cisco.com>
resources/libraries/python/DUTSetup.py
resources/libraries/robot/default.robot