if [ "$OS_ID" == "centos" ]; then
DISTRO="CENTOS"
PACKAGE="rpm"
- sudo yum install -y python-devel python-virtualenv
+ # TODO: Remove when corresponding part of CSIT-1546 is addressed.
+ sudo yum install -y python-devel python-virtualenv openssh-clients sshpass
elif [ "$OS_ID" == "ubuntu" ]; then
DISTRO="UBUNTU"
PACKAGE="deb"
+ # TODO: Remove when corresponding part of CSIT-1546 is addressed.
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y update
- sudo apt-get -y install libpython2.7-dev python-virtualenv
+ sudo apt-get -y install libpython2.7-dev python-virtualenv sshpass
else
echo "$OS_ID is not yet supported."
exit 1
echo ${arr[0]}
SKIP_PATCH="skip_patchORskip_vpp_patch"
else
- DKMS_VERSION=$(< ${SCRIPT_DIR}/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.
fi
VIRL_DIR_LOC="/tmp/"
-VPP_PKGS=(vpp*.$PACKAGE)
+VPP_PKGS=(*vpp*.$PACKAGE)
VPP_PKGS_FULL=("${VPP_PKGS[@]/#/${VIRL_DIR_LOC}}")
echo ${VPP_PKGS[@]}
SSH_OPTIONS="-i ${VIRL_PKEY} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o LogLevel=error"
-TEST_GROUPS=("crypto,ip4_tunnels.softwire,ip4_tunnels.vxlan" "ip4,ip4_tunnels.gre,ip4_tunnels.lisp,ip6_tunnels.vxlan,ip6_tunnels.lisp,vm_vhost.ip4,vm_vhost.ip6" "interfaces,ip6,l2bd,l2xc,vm_vhost.l2bd,vm_vhost.l2xc,telemetry")
+TEST_GROUPS=("ip4_tunnels,l2bd" "ip4,ip6_tunnels,l2xc")
SUITE_PATH="tests.vpp.func"
SKIP_PATCH="SKIP_PATCH"
"start-testcase -vv \
--quota ${IP_QUOTA} \
--copy ${VIRL_TOPOLOGY} \
+ --expiry 180 \
--release ${VIRL_RELEASE} \
${VPP_PKGS_FULL[@]}")
# TODO: remove param ${VPP_PKGS_FULL[@]} when start-testcase script is
--include vm_envAND3_node_single_link_topo \
--include vm_envAND3_node_double_link_topo \
--exclude PERFTEST \
+ --exclude SOFTWIRE \
--exclude ${SKIP_PATCH} \
+ --exclude SKIP_TEST \
--noncritical EXPECTED_FAILING \
--output ${LOG_PATH}/log_test_set_run${nr} \
tests/"
--include vm_envAND3_node_single_link_topo \
--include vm_envAND3_node_double_link_topo \
--exclude PERFTEST \
+ --exclude SOFTWIRE \
--exclude ${SKIP_PATCH} \
+ --exclude SKIP_TEST \
--noncritical EXPECTED_FAILING \
--output ${LOG_PATH}/log_test_set_run${nr} \
tests/