X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap-vpp-verify-weekly.sh;h=6aea26f7bddb85989c91d5fb39b8413db09088fe;hp=2ee9a9792ce991d8427461c658254a488f4a52c0;hb=5df1c3270217408b1928bcc30e5283635112055c;hpb=48023024483921a97966f2f7e9d6dff6c11b11e2;ds=sidebyside diff --git a/bootstrap-vpp-verify-weekly.sh b/bootstrap-vpp-verify-weekly.sh index 2ee9a9792c..6aea26f7bd 100644 --- a/bootstrap-vpp-verify-weekly.sh +++ b/bootstrap-vpp-verify-weekly.sh @@ -41,7 +41,7 @@ OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\ 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" @@ -59,14 +59,16 @@ if [ "${#}" -ne "0" ]; then echo ${arr[0]} else # Download the specific VPP build install packages - DPDK_STABLE_VER=$(cat ${SCRIPT_DIR}/DPDK_STABLE_VER) - VPP_STABLE_VER=$(cat ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO}) - bash ${SCRIPT_DIR}/resources/tools/scripts/download_install_vpp_pkgs.sh \ - --skip-install --vpp ${VPP_STABLE_VER} --dkms ${DPDK_STABLE_VER} + VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO}) + 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[@]} @@ -213,7 +215,7 @@ RC=0 MORE_FAILS=0 partial_logs="" -for test_set in 1 2 3 +for test_set in 1 2 do echo echo ${test_set}. test loop @@ -223,6 +225,8 @@ do --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_test_set${test_set} \ tests/