X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Ftest_kvmfornfv.sh;h=6540b18ca0d6a1a8b2fb613ff7a927813a3cfd56;hb=4525b15e86b4c7e2d426988c4ec1a11132a9f51b;hp=3185c46524ca287e78a11c27ddb395e3962a26d3;hpb=c1a17f3ad621173a68ad6b083638b0b477c9af6a;p=kvmfornfv.git diff --git a/ci/test_kvmfornfv.sh b/ci/test_kvmfornfv.sh index 3185c4652..6540b18ca 100755 --- a/ci/test_kvmfornfv.sh +++ b/ci/test_kvmfornfv.sh @@ -14,12 +14,20 @@ test_type=$1 test_name=$2 ftrace_enable=0 -cyclictest_env_verify=("idle_idle" "cpustress_idle" "memorystress_idle" "iostress_idle") #cyclictest environment +cyclictest_env_verify=("idle_idle" "memorystress_idle") #cyclictest environment cyclictest_env_daily=("idle_idle" "cpustress_idle" "memorystress_idle" "iostress_idle") cyclictest_result=0 #exit code of cyclictest packetforward_result=0 #exit code of packet forward source $WORKSPACE/ci/envs/host-config +#check if any kernel rpms available for testing +rpm_count=`ls -1 $WORKSPACE/build_output/*.rpm 2>/dev/null | wc -l` +if [ $rpm_count = 0 ];then + echo "This patch is used for building kernel debian packages required by compass installer and \ +the test environment for testing debain packages is not available" + exit 0 +fi + function packetForward { #executing packet forwarding test cases based on the job type. if [ ${test_type} == "verify" ];then @@ -127,8 +135,7 @@ if [ ${test_type} == "verify" ];then for env in ${cyclictest_env_verify[@]} do #Executing cyclictest through yardstick. - #cyclictest ${env} - echo "Debugging in progress.Execution of cyclictest is disabled" + cyclictest ${env} sleep 10 done #Execution of packet forwarding test cases. @@ -141,6 +148,8 @@ if [ ${test_type} == "verify" ];then test_exit 0 fi elif [ ${test_type} == "daily" ];then + echo "Daily job test cases execution disabled temporarily" + exit 0 getTestParams install_pcm if [ ${test_name} == "packet_forward" ];then