From 0f195d86c9f5cf0fa8e82464428158a86f0b6113 Mon Sep 17 00:00:00 2001 From: pmikus Date: Fri, 7 Jul 2023 05:59:34 +0000 Subject: fix(core): Remove output_info.xml processing Signed-off-by: pmikus Change-Id: I1528d7760228d50a4d89c0e413ad86aa882088ed --- .../libraries/bash/entry/bootstrap_verify_perf.sh | 8 +-- .../libraries/bash/entry/bootstrap_vpp_device.sh | 8 +-- resources/libraries/bash/entry/per_patch_device.sh | 8 +-- resources/libraries/bash/entry/per_patch_perf.sh | 10 ++-- resources/libraries/bash/function/common.sh | 60 +++++++--------------- resources/libraries/bash/function/gather.sh | 4 +- resources/libraries/bash/function/nginx.sh | 8 +-- 7 files changed, 42 insertions(+), 64 deletions(-) diff --git a/resources/libraries/bash/entry/bootstrap_verify_perf.sh b/resources/libraries/bash/entry/bootstrap_verify_perf.sh index 99813573ea..fd677166b0 100755 --- a/resources/libraries/bash/entry/bootstrap_verify_perf.sh +++ b/resources/libraries/bash/entry/bootstrap_verify_perf.sh @@ -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: @@ -47,9 +47,9 @@ prepare_topology || die select_topology || die reserve_and_cleanup_testbed || die select_tags || die -compose_pybot_arguments || die +compose_robot_arguments || die set_environment_variables || die -run_pybot || die +run_robot || die untrap_and_unreserve_testbed || die move_archives || die -die_on_pybot_error || die +die_on_robot_error || die diff --git a/resources/libraries/bash/entry/bootstrap_vpp_device.sh b/resources/libraries/bash/entry/bootstrap_vpp_device.sh index ae4c26a1ba..31038b0643 100755 --- a/resources/libraries/bash/entry/bootstrap_vpp_device.sh +++ b/resources/libraries/bash/entry/bootstrap_vpp_device.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# 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: @@ -45,8 +45,8 @@ prepare_topology || die select_topology || die activate_docker_topology || die select_tags || die -compose_pybot_arguments || die +compose_robot_arguments || die set_environment_variables || die -run_pybot || die +run_robot || die move_archives || die -die_on_pybot_error || die +die_on_robot_error || die diff --git a/resources/libraries/bash/entry/per_patch_device.sh b/resources/libraries/bash/entry/per_patch_device.sh index db977b6e96..950a52209d 100644 --- a/resources/libraries/bash/entry/per_patch_device.sh +++ b/resources/libraries/bash/entry/per_patch_device.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# 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: @@ -55,7 +55,7 @@ prepare_topology || die select_topology || die activate_docker_topology || die select_tags || die -compose_pybot_arguments || die -run_pybot || die +compose_robot_arguments || die +run_robot || die move_archives || die -die_on_pybot_error || die +die_on_robot_error || die diff --git a/resources/libraries/bash/entry/per_patch_perf.sh b/resources/libraries/bash/entry/per_patch_perf.sh index e7702070c9..4a756d2c25 100644 --- a/resources/libraries/bash/entry/per_patch_perf.sh +++ b/resources/libraries/bash/entry/per_patch_perf.sh @@ -59,7 +59,7 @@ generate_tests || die archive_tests || die reserve_and_cleanup_testbed || die select_tags || die -compose_pybot_arguments || die +compose_robot_arguments || die set_environment_variables || die # Support for interleaved measurements is kept for future. iterations=1 # 8 @@ -72,16 +72,16 @@ for ((iter=0; iter