if [ -f "/etc/redhat-release" ]; then
DISTRO="CENTOS"
sudo yum install -y python-devel python-virtualenv
- VPP_ARTIFACTS="vpp vpp-debuginfo vpp-devel vpp-lib vpp-plugins"
+ VPP_ARTIFACTS="vpp vpp-selinux-policy vpp-devel vpp-lib vpp-plugins"
DPDK_ARTIFACTS=""
PACKAGE="rpm"
VPP_CLASSIFIER=""
VIRL_SERVERS=("10.30.51.28" "10.30.51.29" "10.30.51.30")
IPS_PER_VIRL=( "10.30.51.28:252"
- "10.30.51.29:74"
- "10.30.51.30:74" )
+ "10.30.51.29:252"
+ "10.30.51.30:252" )
SIMS_PER_VIRL=( "10.30.51.28:13"
"10.30.51.29:13"
"10.30.51.30:13" )
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,telemetry" "ip4,ip4_tunnels.gre,ip4_tunnels.lisp,ip6_tunnels.vxlan,vm_vhost.ip4,vm_vhost.ip6" "interfaces,ip6,ip6_tunnels.lisp,l2bd,l2xc,vm_vhost.l2bd,vm_vhost.l2xc")
+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")
SUITE_PATH="tests.vpp.func"
SKIP_PATCH="SKIP_PATCH"
--output ${LOG_PATH}/log_test_set_run${nr} \
tests/
- local_run_rc=$?
- echo ${local_run_rc} > ${SHARED_MEMORY_PATH}/rc_test_run${nr}
+ local local_run_rc=$?
set -x
+ echo ${local_run_rc} > ${SHARED_MEMORY_PATH}/rc_test_run${nr}
}
set +x
echo "Test_set${index} log:"
cat ${LOG_PATH}/test_run${index}.log
RC_PARTIAL_RUN=$(cat ${SHARED_MEMORY_PATH}/rc_test_run${index})
+ if [ -z "$RC_PARTIAL_RUN" ]; then
+ echo "Failed to retrieve return code from test run ${index}"
+ exit 1
+ fi
RC=$((RC+RC_PARTIAL_RUN))
rm -f ${SHARED_MEMORY_PATH}/rc_test_run${index}
rm -f ${LOG_PATH}/test_run${index}.log