diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-06-28 07:29:06 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-06-29 06:33:59 +0000 |
commit | b8bf181cafb0f4e8a317c308cfe83a3e022ce7c5 (patch) | |
tree | 2701ecd0469b586fc91ca5b1decddd69ebfa9cce /tests | |
parent | bcc95cec011f16feccfd00b92cbb4739ef58fbdd (diff) |
SetupFramework to detect failures, part II
- This patch is enforcing evaluation and aligning all __init__.robot
files to use the same logic.
Change-Id: I9e2bf5e904bb6d22f4e6a153c951c3b3c233e2fb
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dpdk/perf/__init__.robot | 2 | ||||
-rw-r--r-- | tests/honeycomb/perf/__init__.robot | 2 | ||||
-rw-r--r-- | tests/kubernetes/perf/__init__.robot | 5 | ||||
-rw-r--r-- | tests/vpp/perf/__init__.robot | 2 |
4 files changed, 9 insertions, 2 deletions
diff --git a/tests/dpdk/perf/__init__.robot b/tests/dpdk/perf/__init__.robot index d7eebe6980..6d38c40229 100644 --- a/tests/dpdk/perf/__init__.robot +++ b/tests/dpdk/perf/__init__.robot @@ -15,6 +15,7 @@ | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/shared/interfaces.robot | Library | resources.libraries.python.SetupFramework +| Library | resources.libraries.python.SetupFramework.CleanupFramework | Library | resources.libraries.python.DPDK.DPDKTools | Suite Setup | Run Keywords | Setup performance global Variables | ... | AND | Setup Framework | ${nodes} @@ -22,6 +23,7 @@ | ... | AND | Get CPU Layout from all nodes | ${nodes} | ... | AND | Update All Numa Nodes | ... | ${nodes} | skip_tg=${True} +| Suite Teardown | Cleanup Framework | ${nodes} *** Keywords *** | Setup performance global Variables diff --git a/tests/honeycomb/perf/__init__.robot b/tests/honeycomb/perf/__init__.robot index a3d5a8ac5c..dba1392ce6 100644 --- a/tests/honeycomb/perf/__init__.robot +++ b/tests/honeycomb/perf/__init__.robot @@ -21,6 +21,7 @@ | Resource | resources/libraries/robot/honeycomb/honeycomb.robot | Resource | resources/libraries/robot/honeycomb/performance.robot | Library | resources.libraries.python.SetupFramework +| Library | resources.libraries.python.SetupFramework.CleanupFramework | Library | resources.libraries.python.CpuUtils | Library | resources.libraries.python.honeycomb.Performance | Suite Setup | Setup suite for Honeycomb performance tests @@ -28,6 +29,7 @@ | ... | Stop VPP Service on DUT | ${node} | ... | AND | Archive Honeycomb Logs | ${node} | perf=${True} | ... | AND | Stop honeycomb service on DUTs | ${node} +| ... | AND | Cleanup Framework | ${nodes} *** Keywords *** | Setup suite for Honeycomb performance tests diff --git a/tests/kubernetes/perf/__init__.robot b/tests/kubernetes/perf/__init__.robot index 686ead5e1c..69c6af3088 100644 --- a/tests/kubernetes/perf/__init__.robot +++ b/tests/kubernetes/perf/__init__.robot @@ -20,6 +20,7 @@ | Library | resources.libraries.python.NodePath | Library | resources.libraries.python.SchedUtils | Library | resources.libraries.python.SetupFramework +| Library | resources.libraries.python.SetupFramework.CleanupFramework | Library | resources.libraries.python.topology.Topology | Library | Collections | Suite Setup | Run Keywords | Setup performance global Variables @@ -29,8 +30,8 @@ | ... | AND | Update all numa nodes | ${nodes} | ... | skip_tg=${True} | ... | AND | Update NIC interface names on all duts | ${nodes} -| ... -| Suite Teardown | Destroy Kubernetes on all duts | ${nodes} +| Suite Teardown | Run Keywords | Destroy Kubernetes on all duts | ${nodes} +| ... | AND | Cleanup Framework | ${nodes} *** Keywords *** | Setup performance global Variables diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index aa95875dbb..642906dd22 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -15,6 +15,7 @@ | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/shared/interfaces.robot | Library | resources.libraries.python.SetupFramework +| Library | resources.libraries.python.SetupFramework.CleanupFramework | Library | resources.libraries.python.CpuUtils | Suite Setup | Run Keywords | Setup performance global Variables | ... | AND | Setup Framework | ${nodes} @@ -23,6 +24,7 @@ | ... | AND | Get CPU Layout from all nodes | ${nodes} | ... | AND | Update All Interface Data On All Nodes | ... | ${nodes} | skip_tg=${True} | numa_node=${True} +| Suite Teardown | Cleanup Framework | ${nodes} *** Keywords *** | Setup performance global Variables |