From 9c19b7f216dc41bbfbd1128461d706e4f7eb26a6 Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Fri, 12 May 2017 14:56:54 +0100 Subject: 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 Reviewed-by: Al Morton Reviewed-by: Christian Trautman Reviewed-by: Sridhar Rao Reviewed-by: Trevor Cooper --- ci/build-vsperf.sh | 18 +++++++++++++++--- 1 file 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 -- cgit 1.2.3-korg