From 3bd5a89d6ff680bdfc2a64b30081ecd46548d19a Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Sat, 15 Jan 2022 23:28:15 +0530 Subject: [PATCH] add scripts for traceability --- system-test/automation_utils.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system-test/automation_utils.sh b/system-test/automation_utils.sh index ad2d261e4c..f17e117ab6 100755 --- a/system-test/automation_utils.sh +++ b/system-test/automation_utils.sh @@ -5,9 +5,11 @@ # shellcheck disable=SC1091 # shellcheck disable=SC2034 +echo "DIR in system-test/automation_utils is : $( cd "$( dirname "${BASH_SOURCE[0]}" )"" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" REPO_ROOT=${DIR}/.. +echo "REPO_ROOT in system-test/automation_utils is : $REPO_ROOT" source "${REPO_ROOT}"/ci/upload-ci-artifact.sh function execution_step { @@ -32,6 +34,7 @@ function analyze_packet_loss { set -x # shellcheck disable=SC1091 source "${REPO_ROOT}"/net/config/config + cat "${REPO_ROOT}"/net/config/config mkdir -p iftop-logs execution_step "Map private -> public IP addresses in iftop logs" # shellcheck disable=SC2154 @@ -200,6 +203,7 @@ function upload_results_to_slack() { echo "SLACK_WEBHOOOK_URL undefined" exit 1 fi + echo "SLACK_WEBHOOOK_URL is : $SLACK_WEBHOOOK_URL" [[ -n $BUILDKITE_MESSAGE ]] || BUILDKITE_MESSAGE="Message not defined"