diff options
author | pmikus <pmikus@cisco.com> | 2021-08-23 12:58:47 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-08-24 13:04:08 +0000 |
commit | f352e4ff6f74bb8dcdc85241c5a92c6f0da1fb76 (patch) | |
tree | 5fea8301276e07f836a4ac328fb0c6470f2af974 /resources/libraries | |
parent | 55372c91ac0c59065f3d8634c686efd0809a85aa (diff) |
Telemetry: vpp device
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I80efb278cf824dd8b1d38bb3ff3df43366e7295a
Diffstat (limited to 'resources/libraries')
-rw-r--r-- | resources/libraries/robot/shared/default.robot | 28 | ||||
-rw-r--r-- | resources/libraries/robot/shared/test_teardown.robot | 9 |
2 files changed, 7 insertions, 30 deletions
diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index 7c013d78e7..93aa3976a2 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -93,34 +93,6 @@ | | # Parens are there to perform the call. | | Run Keyword If | $resetter | Evaluate | $resetter() -| Verify statistic commands -| | [Documentation] -| | ... | Execute several commands related to stats. -| | ... | To be used by "stats" device tests, -| | ... | as other device tests do not interact with stats. -| | -| | ... | The commands should also cover frequently used -| | ... | PAPI (non-stats) commands and CLI commands. -| | -| | ${results}= | Create List -| | ${status} | ${value}= | Run Keyword And Ignore Error -| | ... | VPP Show Runtime On All DUTs | ${nodes} -| | Append To List | ${results} | ${status} -| | ${status} | ${value}= | Run Keyword And Ignore Error -| | ... | Show Statistics On All DUTs | ${nodes} -| | Append To List | ${results} | ${status} -| | ${status} | ${value}= | Run Keyword And Ignore Error -| | ... | Show Event Logger On All DUTs | ${nodes} -| | Append To List | ${results} | ${status} -| | ${status} | ${value}= | Run Keyword And Ignore Error -| | ... | VPP Clear Runtime On All DUTs | ${nodes} -| | Append To List | ${results} | ${status} -| | ${status} | ${value}= | Run Keyword And Ignore Error -| | ... | Clear Statistics On All DUTs | ${nodes} -| | Append To List | ${results} | ${status} -| | Should Not Contain Match | ${results} | FAIL -| | ... | msg=At least one of statistic commands failed! - | Configure crypto device on all DUTs | | [Documentation] | Verify if Crypto QAT device virtual functions are | | ... | initialized on all DUTs. If parameter force_init is set to True, then diff --git a/resources/libraries/robot/shared/test_teardown.robot b/resources/libraries/robot/shared/test_teardown.robot index 977a87d5a6..3fe5e6a8ee 100644 --- a/resources/libraries/robot/shared/test_teardown.robot +++ b/resources/libraries/robot/shared/test_teardown.robot @@ -170,13 +170,18 @@ | | | | Show Packet Trace on All DUTs | ${nodes} +| Additional Test Tear Down Action For telemetry +| | [Documentation] +| | ... | Additional teardown for tests which uses telemetry reads. +| | +| | Run Telemetry On All DUTs +| | ... | ${nodes} | profile=${telemetry_profile}.yaml + | Additional Test Tear Down Action For performance | | [Documentation] | | ... | Additional teardown for tests which uses performance measurement. | | ... | Optionally, call \${resetter} (if defined) to reset DUT state. | | -| | ... | TODO: Document what test variables are required or optional. -| | | | Run Keyword If Test Passed | Return From Keyword | | ${use_latency} = | Get Use Latency | | ${rate_for_teardown} = | Get Rate For Teardown |