X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fvpp%2Fperf%2F__init__.robot;h=2b38b2a4ee8f72c53df21f006297b00b41ced2aa;hb=HEAD;hp=6f6650b03244f74c3dff855abb8b69cecac4bc9b;hpb=d255d2545ee6cdc871bc35314fad72c3c48b225b;p=csit.git diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index 6f6650b032..04b47f9746 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -18,21 +18,23 @@ | Library | resources.libraries.python.PapiExecutor.Disconnector | Library | resources.libraries.python.SetupFramework | Library | resources.libraries.python.SetupFramework.CleanupFramework -| Library | resources.libraries.python.CpuUtils | -| Suite Setup | Run Keywords | Setup Global Variables +| Suite Setup | Run Keywords | Start Suite Setup Export +| ... | AND | Setup Global Variables | ... | AND | Setup Framework | ${nodes} | ... | AND | Setup Corekeeper on All Nodes | ${nodes} | ... | AND | Install Vpp on All Duts | ${nodes} | ${packages_dir} -| ... | AND | Verify Vpp on All Duts | ${nodes} -| ... | AND | Verify UIO Driver on all DUTs | ${nodes} +| ... | AND | Init Vpp Startup Configuration on All Duts | ${nodes} | ... | AND | Show Vpp Version on All Duts | ${nodes} | ... | AND | Get CPU Info from All Nodes | ${nodes} | ... | AND | Update All Interface Data on All Nodes | ${nodes} | ... | skip_tg=${True} +| ... | AND | Finalize Suite Setup Export | -| Suite Teardown | Run Keywords | Disconnect All Papi Connections +| Suite Teardown | Run Keywords | Start Suite Teardown Export +| ... | AND | Disconnect All Papi Connections | ... | AND | Cleanup Framework | ${nodes} +| ... | AND | Finalize Suite Teardown Export *** Keywords *** | Setup Global Variables @@ -46,9 +48,9 @@ | | ... | - packages_dir - Path to directory where VPP packages are stored. | | | | ${stat_runtime}= | Create List -| | ... | vpp-runtime +| | ... | vpp-runtime | perf-stat-runtime | | ${stat_pre_trial}= | Create List -| | ... | vpp-runtime | vpp-clear-stats | vpp-enable-packettrace +| | ... | vpp-clear-stats | vpp-enable-packettrace | | ${stat_post_trial}= | Create List | | ... | vpp-show-stats | vpp-show-packettrace | | Set Global Variable | ${stat_runtime}