X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap-verify-perf-DPDK.sh;h=d24167d46bf331182dc5acac878e21146e905c04;hp=566f5bc948561a81c4aed8c07b2b8b68ef3c8159;hb=974d52d1976f802c99738712bbfe56e16d56d650;hpb=cfd0d32435a912fccf39aac04959bd0d13a8d0e8 diff --git a/bootstrap-verify-perf-DPDK.sh b/bootstrap-verify-perf-DPDK.sh index 566f5bc948..d24167d46b 100755 --- a/bootstrap-verify-perf-DPDK.sh +++ b/bootstrap-verify-perf-DPDK.sh @@ -20,11 +20,9 @@ TOPOLOGIES_3N_HSW="topologies/available/lf_3n_hsw_testbed1.yaml \ topologies/available/lf_3n_hsw_testbed2.yaml \ topologies/available/lf_3n_hsw_testbed3.yaml" TOPOLOGIES_2N_SKX="topologies/available/lf_2n_skx_testbed21.yaml \ - topologies/available/lf_2n_skx_testbed22.yaml \ - topologies/available/lf_2n_skx_testbed23.yaml \ topologies/available/lf_2n_skx_testbed24.yaml" -TOPOLOGIES_3N_SKX="topologies/available/lf_2n_skx_testbed31.yaml \ - topologies/available/lf_2n_skx_testbed32.yaml" +TOPOLOGIES_3N_SKX="topologies/available/lf_3n_skx_testbed31.yaml \ + topologies/available/lf_3n_skx_testbed32.yaml" # SYSTEM SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -96,6 +94,10 @@ virtualenv --system-site-packages env . env/bin/activate pip install -r requirements.txt +if [ -z "${TOPOLOGIES}" ]; then + echo "No applicable topology found!" + exit 1 +fi # We iterate over available topologies and wait until we reserve topology while :; do for TOPOLOGY in ${TOPOLOGIES}; @@ -151,9 +153,7 @@ case "$TEST_TAG" in # If nothing is specified, we will run pre-selected tests by # following tags. Items of array will be concatenated by OR in Robot # Framework. - TEST_TAG_ARRAY=('mrrANDnic_intel-x710AND1cAND64bANDip4base' - 'mrrANDnic_intel-x710AND1cAND78bANDip6base' - 'mrrANDnic_intel-x710AND1cAND64bANDl2bdbase') + TEST_TAG_ARRAY=('mrrANDnic_intel-x710AND1cAND64b') else # If trigger contains tags, split them into array. TEST_TAG_ARRAY=(${TEST_TAG_STRING//:/ })