From 7089e466dfdcc58ebad94ce5fe65ddbbb8b78925 Mon Sep 17 00:00:00 2001 From: Viliam Luc Date: Tue, 28 Sep 2021 19:46:36 +0200 Subject: [PATCH] doc gen: fix doc generator Change-Id: I75e836ce728fd333764f17d69813093cb947ef4f Signed-off-by: Viliam Luc --- .../report_iterative/2n-clx/vpp-mlr-00.md | 54 +++++++++++----------- docs/job_specs/report_iterative/2n-clx/vsap-00.md | 54 +++++++++++----------- resources/libraries/bash/function/docs.sh | 22 ++++----- resources/tools/doc_gen/gen_rst.py | 50 ++++++++++++++++---- resources/tools/doc_gen/src/index.rst | 1 + resources/tools/doc_gen/src/tests.trex.perf.rst | 2 + ...th-ip4tcphttp-ldpreload-nginx-1_14_2-cps.robot} | 18 ++++---- ...th-ip4tcphttp-ldpreload-nginx-1_14_2-rps.robot} | 18 ++++---- ...th-ip4tcphttp-ldpreload-nginx-1_15_0-cps.robot} | 18 ++++---- ...th-ip4tcphttp-ldpreload-nginx-1_15_0-rps.robot} | 18 ++++---- 10 files changed, 144 insertions(+), 111 deletions(-) create mode 100644 resources/tools/doc_gen/src/tests.trex.perf.rst rename tests/vpp/perf/hoststack/{2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps.robot => 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps.robot} (88%) rename tests/vpp/perf/hoststack/{2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps.robot => 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps.robot} (88%) rename tests/vpp/perf/hoststack/{2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps.robot => 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps.robot} (88%) rename tests/vpp/perf/hoststack/{2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps.robot => 2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps.robot} (88%) diff --git a/docs/job_specs/report_iterative/2n-clx/vpp-mlr-00.md b/docs/job_specs/report_iterative/2n-clx/vpp-mlr-00.md index 6928bbcf9c..04f1764dfd 100644 --- a/docs/job_specs/report_iterative/2n-clx/vpp-mlr-00.md +++ b/docs/job_specs/report_iterative/2n-clx/vpp-mlr-00.md @@ -50,35 +50,35 @@ ## ./hoststack ### intel-e810cq #### dpdk-vfio-pci -##### eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -##### eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 +##### eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +##### eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 ### mellanox-cx556a #### dpdk-vfio-pci -##### eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 +##### eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 ## ./ip4 ### intel-x710 #### af_xdp diff --git a/docs/job_specs/report_iterative/2n-clx/vsap-00.md b/docs/job_specs/report_iterative/2n-clx/vsap-00.md index 99c170aa0c..b537bdcd30 100644 --- a/docs/job_specs/report_iterative/2n-clx/vsap-00.md +++ b/docs/job_specs/report_iterative/2n-clx/vsap-00.md @@ -21,33 +21,33 @@ ## ./hoststack ### intel-e810cq #### dpdk-vfio-pci -##### eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.14.2 -##### eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 +##### eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_14_2 +##### eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND cps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND rps AND e810cq AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 ### mellanox-cx556a #### dpdk-vfio-pci -##### eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 0b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 64b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 1024b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 -1c AND 2048b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1.15.0 +##### eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND cps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 0b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 64b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 1024b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 +1c AND 2048b AND rps AND cx556a AND drv_vfio_pci AND eth-ip4tcphttp-ldpreload-nginx-1_15_0 ## ./vm_vhost diff --git a/resources/libraries/bash/function/docs.sh b/resources/libraries/bash/function/docs.sh index be3f9861ce..c589416a37 100644 --- a/resources/libraries/bash/function/docs.sh +++ b/resources/libraries/bash/function/docs.sh @@ -47,12 +47,13 @@ function generate_docs () { pushd "${TOOLS_DIR}"/doc_gen || die "Pushd failed!" - WORKING_DIR="tmp" BUILD_DIR="_build" # Remove the old build: rm -rf ${BUILD_DIR} || true - rm -rf ${WORKING_DIR} || true + rm -rf /tmp/tmp-csit* || true + + export WORKING_DIR=$(mktemp -d /tmp/tmp-csitXXX) || die "export failed" # Create working directories mkdir -p "${BUILD_DIR}" || die "Mkdir failed!" @@ -81,17 +82,12 @@ function generate_docs () { die "Touch index.robot file failed!" } - # Due to hoststack tests having dots in the name of suite, tests will become - # disabled as spihnxdoc cannot properly work with the path. gen_rst - # is generating dots scheme. The solution is to rename suites as - # having dots is misleading with robot framework naming conventions. - - #from_dir="${CSIT_DIR}/tests/" - #to_dir="${WORKING_DIR}/tests/" - #dirs="${from_dir} ${to_dir}" - #rsync -ar --include='*/' --include '*.robot' --exclude '*' ${dirs} || { - # die "rSync failed!" - #} + from_dir="${CSIT_DIR}/tests/" + to_dir="${WORKING_DIR}/tests/" + dirs="${from_dir} ${to_dir}" + rsync -ar --include='*/' --include '*.robot' --exclude '*' ${dirs} || { + die "rSync failed!" + } find ${WORKING_DIR}/ -type d -exec echo {} \; -exec touch {}/__init__.py \; diff --git a/resources/tools/doc_gen/gen_rst.py b/resources/tools/doc_gen/gen_rst.py index 1cb1005a50..d3f7d96c58 100755 --- a/resources/tools/doc_gen/gen_rst.py +++ b/resources/tools/doc_gen/gen_rst.py @@ -10,13 +10,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - - -from os import walk, listdir +from os import walk, listdir, scandir, environ from os.path import isfile, isdir, join, getsize -# Temporary working directory. It is created and deleted by run_doc.sh -WORKING_DIR = u"tmp" +# Temporary working directory. It is created and deleted by docs.sh +WORKING_DIR = environ.get("WORKING_DIR") # Directory with resources to be documented. RESOURCES_DIR = u"resources" @@ -83,7 +81,7 @@ def get_files(path, extension): for root, dirs, files in walk(path): for filename in files: if extension: - if filename.endswith(extension): + if filename.endswith(extension) and u"__init__" not in filename: file_list.append(join(root, filename)) else: file_list.append(join(root, filename)) @@ -126,6 +124,34 @@ def create_rst_file_names_set(files, start): return file_names +def add_nested_folders_in_rst_set(file_names, path): + """Add RST files from folders where are only folders without tests. + + :param file_names: List of all files to be documented with path beginning + in the working directory. + :param path: Path where it starts adding missing RST files. + :type file_names: list + :type path: str + """ + + # When we split directory tree by "/" we don't need to create RST file in + # folders in depth <= 5. It's because the WORKING_DIR folder structure i + # as following: + # /tmp/tmp-csitXXX/tests/// + # That splits to ie: + # ['', 'tmp', 'tmp-csitXXX', 'tests', 'vpp', 'device', 'container_memif'] + # We need to generate RST files for folders after which + # is in depth > 5 + + for directory in fast_scandir(path): + dir_list = directory.split(u"/") + if len(dir_list) > 5: + # cut ['', 'tmp', 'tmp-csitXXX'] + dir_rst = u".".join(dir_list[3:]) + u".rst" + if dir_rst not in file_names and u"__pycache__" not in dir_rst: + file_names.add(dir_rst) + + def scan_dir(path): """Create a list of files and directories in the given directory. @@ -157,8 +183,8 @@ def write_toc(fh, path, dirs): :type dirs: list """ fh.write(rst_toc) - for dir in dirs: - fh.write(f" {u'.'.join(path)}.{dir}\n") + for directory in dirs: + fh.write(f" {u'.'.join(path)}.{directory}\n") def write_module_title(fh, module_name): @@ -274,12 +300,20 @@ def generate_tests_rst_files(): tests = get_files(PATH_TESTS, RF_EXT) file_names = create_rst_file_names_set(tests, TESTS_DIR) + add_nested_folders_in_rst_set(file_names, PATH_TESTS) generate_rf_rst_files( file_names, incl_suite_setup=True, incl_variables=True ) +def fast_scandir(dirname): + subfolders = [f.path for f in scandir(dirname) if f.is_dir()] + for dirname in list(subfolders): + subfolders.extend(fast_scandir(dirname)) + return subfolders + + if __name__ == u"__main__": # Generate all rst files: diff --git a/resources/tools/doc_gen/src/index.rst b/resources/tools/doc_gen/src/index.rst index 39f1d38fca..82f01db0c8 100644 --- a/resources/tools/doc_gen/src/index.rst +++ b/resources/tools/doc_gen/src/index.rst @@ -10,6 +10,7 @@ Contents resources.libraries.python resources.libraries.robot tests.dpdk.perf + tests.trex.perf tests.vpp.device tests.vpp.perf indices diff --git a/resources/tools/doc_gen/src/tests.trex.perf.rst b/resources/tools/doc_gen/src/tests.trex.perf.rst new file mode 100644 index 0000000000..55ab087177 --- /dev/null +++ b/resources/tools/doc_gen/src/tests.trex.perf.rst @@ -0,0 +1,2 @@ +TREX Performance Tests +====================== diff --git a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps.robot b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps.robot similarity index 88% rename from tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps.robot rename to tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps.robot index 446cc50c55..d7ac4cd359 100644 --- a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps.robot +++ b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps.robot @@ -17,7 +17,7 @@ | | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI -| ... | TCP_CPS | eth-ip4tcphttp-ldpreload-nginx-1.14.2 +| ... | TCP_CPS | eth-ip4tcphttp-ldpreload-nginx-1_14_2 | | Suite Setup | Setup suite topology interfaces | ab | nginx | Suite Teardown | Tear down suite | ab @@ -88,34 +88,34 @@ | | ... | ${ciphers} | ${frame_size} | ${tls_tcp} | ${rps_cps} *** Test Cases *** -| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 0B | 1C | | frame_size=${0} | phy_cores=${1} -| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 0B | 2C | | frame_size=${0} | phy_cores=${2} -| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 64B | 1C | | frame_size=${64} | phy_cores=${1} -| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} -| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 1024B | 1C | | frame_size=${1024} | phy_cores=${1} -| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 1024B | 2C | | frame_size=${1024} | phy_cores=${2} -| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 2048B | 1C | | frame_size=${2048} | phy_cores=${1} -| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-cps +| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-cps | | [Tags] | 2048B | 2C | | frame_size=${2048} | phy_cores=${2} diff --git a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps.robot b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps.robot similarity index 88% rename from tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps.robot rename to tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps.robot index f3ca740776..039e8a6928 100644 --- a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps.robot +++ b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps.robot @@ -17,7 +17,7 @@ | | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI -| ... | TCP_RPS | eth-ip4tcphttp-ldpreload-nginx-1.14.2 +| ... | TCP_RPS | eth-ip4tcphttp-ldpreload-nginx-1_14_2 | | Suite Setup | Setup suite topology interfaces | ab | nginx | Suite Teardown | Tear down suite | ab @@ -88,34 +88,34 @@ | | ... | ${ciphers} | ${frame_size} | ${tls_tcp} | ${rps_cps} *** Test Cases *** -| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 0B | 1C | | frame_size=${0} | phy_cores=${1} -| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 0B | 2C | | frame_size=${0} | phy_cores=${2} -| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 64B | 1C | | frame_size=${64} | phy_cores=${1} -| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} -| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 1024B | 1C | | frame_size=${1024} | phy_cores=${1} -| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 1024B | 2C | | frame_size=${1024} | phy_cores=${2} -| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 2048B | 1C | | frame_size=${2048} | phy_cores=${1} -| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1.14.2-rps +| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_14_2-rps | | [Tags] | 2048B | 2C | | frame_size=${2048} | phy_cores=${2} diff --git a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps.robot b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps.robot similarity index 88% rename from tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps.robot rename to tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps.robot index c542eab757..5993901bee 100644 --- a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps.robot +++ b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps.robot @@ -17,7 +17,7 @@ | | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI -| ... | TCP_CPS | eth-ip4tcphttp-ldpreload-nginx-1.15.0 +| ... | TCP_CPS | eth-ip4tcphttp-ldpreload-nginx-1_15_0 | | Suite Setup | Setup suite topology interfaces | ab | nginx | Suite Teardown | Tear down suite | ab @@ -88,34 +88,34 @@ | | ... | ${ciphers} | ${frame_size} | ${tls_tcp} | ${rps_cps} *** Test Cases *** -| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 0B | 1C | | frame_size=${0} | phy_cores=${1} -| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 0B | 2C | | frame_size=${0} | phy_cores=${2} -| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 64B | 1C | | frame_size=${64} | phy_cores=${1} -| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} -| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 1024B | 1C | | frame_size=${1024} | phy_cores=${1} -| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 1024B | 2C | | frame_size=${1024} | phy_cores=${2} -| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 2048B | 1C | | frame_size=${2048} | phy_cores=${1} -| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-cps +| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-cps | | [Tags] | 2048B | 2C | | frame_size=${2048} | phy_cores=${2} diff --git a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps.robot b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps.robot similarity index 88% rename from tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps.robot rename to tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps.robot index 821d7d30c2..72cbf17212 100644 --- a/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps.robot +++ b/tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps.robot @@ -17,7 +17,7 @@ | | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | ... | LDP_NGINX | TCP | NIC_Intel-X710 | DRV_VFIO_PCI -| ... | TCP_RPS | eth-ip4tcphttp-ldpreload-nginx-1.15.0 +| ... | TCP_RPS | eth-ip4tcphttp-ldpreload-nginx-1_15_0 | | Suite Setup | Setup suite topology interfaces | ab | nginx | Suite Teardown | Tear down suite | ab @@ -88,34 +88,34 @@ | | ... | ${ciphers} | ${frame_size} | ${tls_tcp} | ${rps_cps} *** Test Cases *** -| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 0B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 0B | 1C | | frame_size=${0} | phy_cores=${1} -| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 0B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 0B | 2C | | frame_size=${0} | phy_cores=${2} -| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 64B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 64B | 1C | | frame_size=${64} | phy_cores=${1} -| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 64B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} -| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 1024B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 1024B | 1C | | frame_size=${1024} | phy_cores=${1} -| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 1024B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 1024B | 2C | | frame_size=${1024} | phy_cores=${2} -| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 2048B-1c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 2048B | 1C | | frame_size=${2048} | phy_cores=${1} -| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1.15.0-rps +| 2048B-2c-eth-ip4tcphttp-ldpreload-nginx-1_15_0-rps | | [Tags] | 2048B | 2C | | frame_size=${2048} | phy_cores=${2} -- 2.16.6