if [ "$OS_ID" == "centos" ]; then
DISTRO="CENTOS"
PACKAGE="rpm"
- sudo yum install -y python-devel python-virtualenv
+ sudo yum install -y python-devel python-virtualenv openssh-clients sshpass
elif [ "$OS_ID" == "ubuntu" ]; then
DISTRO="UBUNTU"
PACKAGE="deb"
echo ${arr[0]}
else
# Download the latest VPP build install packages
- bash ${SCRIPT_DIR}/resources/tools/scripts/download_install_vpp_pkgs.sh \
- --skip-install
+ CSIT_DIR=${SCRIPT_DIR}
+ source "${SCRIPT_DIR}/resources/libraries/bash/function/artifacts.sh"
+ download_artifacts
+ # Need to revert -euo as the rest of script is not optimized for this.
+ set +euo pipefail
fi
VIRL_DIR_LOC="/tmp/"
-VPP_PKGS=(vpp*.$PACKAGE)
+VPP_PKGS=(*vpp*.$PACKAGE)
VPP_PKGS_FULL=("${VPP_PKGS[@]/#/${VIRL_DIR_LOC}}")
echo ${VPP_PKGS[@]}
# There are used three iterations of functional tests there
# to check the stability and reliability of the results.
partial_logs=""
-for test_set in 1 2 3
+for test_set in 1 2
do
echo
echo Functional test loop: ${test_set}
--include vm_envAND3_node_single_link_topo \
--include vm_envAND3_node_double_link_topo \
--exclude PERFTEST \
+ --exclude SOFTWIRE \
+ --exclude SKIP_TEST \
--noncritical EXPECTED_FAILING \
--output ${LOG_PATH}/output_func_test_set${test_set} \
tests/