X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fper_patch.sh;h=919789b5f493aa128383c86006a98f383b59328f;hb=9a936616eea7236ca8183f632d01d62109e12b29;hp=fc608c46add82b58852111058fa1826af39255f0;hpb=5287b5307b3e39c4e13545b0c6ea651ac4014a84;p=csit.git diff --git a/resources/libraries/bash/function/per_patch.sh b/resources/libraries/bash/function/per_patch.sh index fc608c46ad..919789b5f4 100644 --- a/resources/libraries/bash/function/per_patch.sh +++ b/resources/libraries/bash/function/per_patch.sh @@ -82,7 +82,7 @@ function build_vpp_ubuntu_amd64 () { set -exuo pipefail cd "${VPP_DIR}" || die "Change directory command failed." - make pkg-verify || die "VPP build using make pkg-verify failed." + make UNATTENDED=y pkg-verify || die "VPP build using make pkg-verify failed." echo "* VPP ${1-} BUILD SUCCESSFULLY COMPLETED" || { die "Argument not found." } @@ -109,10 +109,10 @@ function compare_test_results () { cd "${VPP_DIR}" || die "Change directory operation failed." # Reusing CSIT main virtualenv. - pip install -r "${PYTHON_SCRIPTS_DIR}/perpatch_requirements.txt" || { + pip3 install -r "${PYTHON_SCRIPTS_DIR}/perpatch_requirements.txt" || { die "Perpatch Python requirements installation failed." } - python "${PYTHON_SCRIPTS_DIR}/compare_perpatch.py" + python3 "${PYTHON_SCRIPTS_DIR}/compare_perpatch.py" # The exit code determines the vote result. }