VIRL_PKEY=priv_key
VIRL_SERVER_STATUS_FILE="status"
VIRL_SERVER_EXPECTED_STATUS="PRODUCTION"
+VIRL_SESSION_EXPIRY="620"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Temporarily download VPP and DPDK packages from nexus.fd.io
case "$DISTRO" in
CENTOS )
- VPP_ARTIFACTS="vpp vpp-debuginfo vpp-devel vpp-lib vpp-plugins"
- DPDK_ARTIFACTS="vpp-dpdk-devel"
+ VPP_ARTIFACTS="vpp vpp-devel vpp-lib vpp-plugins"
+ DPDK_ARTIFACTS=""
PACKAGE="rpm"
VPP_CLASSIFIER=""
DPDK_STABLE_VER=$(cat ${SCRIPT_DIR}/DPDK_STABLE_VER).x86_64
;;
UBUNTU )
VPP_ARTIFACTS="vpp vpp-dbg vpp-dev vpp-lib vpp-plugins"
- DPDK_ARTIFACTS="vpp-dpdk-dev vpp-dpdk-dkms"
+ DPDK_ARTIFACTS="vpp-dpdk-dkms"
PACKAGE="deb"
VPP_CLASSIFIER="-deb"
DPDK_STABLE_VER=$(cat ${SCRIPT_DIR}/DPDK_STABLE_VER)_amd64
if [ "${#}" -ne "0" ]; then
arr=(${@})
echo ${arr[0]}
- # DPDK is not part of the vpp build
+ # Download DPDK parts not included in dpdk plugin of vpp build
for ARTIFACT in ${DPDK_ARTIFACTS}; do
wget -q "${VPP_REPO_URL}/${ARTIFACT}/${DPDK_STABLE_VER}/${ARTIFACT}-${DPDK_STABLE_VER}${VPP_CLASSIFIER}.${PACKAGE}" || exit
done
VIRL_SID=$(ssh ${SSH_OPTIONS} \
${VIRL_USERNAME}@${VIRL_SERVER} \
- "start-testcase -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VPP_PKGS_FULL[@]}")
+ "start-testcase -vv --copy ${VIRL_TOPOLOGY} \
+ --expiry ${VIRL_SESSION_EXPIRY} \
+ --release ${VIRL_RELEASE} ${VPP_PKGS_FULL[@]}")
retval=$?
if [ ${retval} -ne "0" ]; then
echo "VIRL simulation start failed"
echo ${test_set}. test loop
PYTHONPATH=`pwd` pybot -L TRACE -W 136\
-v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \
- --suite "tests.func" \
+ --suite "tests.vpp.func" \
--include vm_envAND3_node_single_link_topo \
- --include vm_envAND3_nodePACAKGE_double_link_topo \
+ --include vm_envAND3_node_double_link_topo \
--exclude PERFTEST \
--noncritical EXPECTED_FAILING \
--output log_test_set${test_set} \