aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-05-12 14:56:54 +0100
committerMartin Klozik <martinx.klozik@intel.com>2017-05-12 15:01:48 +0100
commit9c19b7f216dc41bbfbd1128461d706e4f7eb26a6 (patch)
treed10001e943dabcbd021b756be80efbf19b98ef62 /ci
parentb878f491b6590678210aa94ed49327d192148144 (diff)
ci: Add VPP test execution into CI daily job
Basic set of VPP performance tests was added into OPNFV CI daily job. JIRA: VSPERF-509 Change-Id: I9cd6086a958d67dd0e395f962111e6d2b44bf86c Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/build-vsperf.sh18
1 files changed, 15 insertions, 3 deletions
diff --git a/ci/build-vsperf.sh b/ci/build-vsperf.sh
index 7a16014d..bca3f212 100755
--- a/ci/build-vsperf.sh
+++ b/ci/build-vsperf.sh
@@ -54,7 +54,9 @@ TESTCASES_MERGE_VPP=$TESTCASES_VERIFY_VPP
TESTPARAM_MERGE_VPP=$TESTPARAM_VERIFY_VPP
# DAILY - run selected TCs for defined packet sizes
TESTCASES_DAILY='phy2phy_tput back2back phy2phy_tput_mod_vlan phy2phy_scalability pvp_tput pvp_back2back pvvp_tput pvvp_back2back'
+TESTCASES_DAILY_VPP='phy2phy_tput_vpp back2back_vpp pvp_tput_vpp pvp_back2back_vpp pvvp_tput_vpp pvvp_back2back_vpp'
TESTPARAM_DAILY='--test-params TRAFFICGEN_PKT_SIZES=(64,128,512,1024,1518)'
+TESTPARAM_DAILY_VPP=$TESTPARAM_DAILY
TESTCASES_SRIOV='pvp_tput'
TESTPARAM_SRIOV='--test-params TRAFFICGEN_PKT_SIZES=(64,128,512,1024,1518)'
# check if user config file exists if not then we will use default settings
@@ -168,9 +170,17 @@ function execute_vsperf() {
;;
*)
# by default use daily build and upload results to the OPNFV databse
- TESTPARAM=$TESTPARAM_DAILY
- TESTCASES=$TESTCASES_DAILY
- OPNFVPOD="--opnfvpod=$NODE_NAME"
+ if [ "$1" == "VPP" ] ; then
+ TESTPARAM=$TESTPARAM_DAILY_VPP
+ TESTCASES=$TESTCASES_DAILY_VPP
+ # don't report VPP results into testresults DB, until TC name mapping
+ # for VPP tests will be defined
+ #OPNFVPOD="--opnfvpod=$NODE_NAME"
+ else
+ TESTPARAM=$TESTPARAM_DAILY
+ TESTCASES=$TESTCASES_DAILY
+ OPNFVPOD="--opnfvpod=$NODE_NAME"
+ fi
;;
esac
@@ -488,6 +498,8 @@ case $1 in
terminate_vsperf
execute_vsperf OVS_vanilla $1
terminate_vsperf
+ execute_vsperf VPP $1
+ terminate_vsperf
execute_vsperf SRIOV $1
terminate_vsperf