diff options
author | kalyanreddy <reddyx.gundarapu@intel.com> | 2017-07-18 18:14:39 +0530 |
---|---|---|
committer | kalyanreddy <reddyx.gundarapu@intel.com> | 2017-07-18 18:27:32 +0530 |
commit | 4525b15e86b4c7e2d426988c4ec1a11132a9f51b (patch) | |
tree | 35d391b78bdcd1d72c4b50640a4ab842a951c7da /ci/test_kvmfornfv.sh | |
parent | 465249b61b72d33fe1fad8d43da332faef22bec0 (diff) |
Generating only kernel debian packages
This patch includes scripts to generate only kernel debian packages
based on the commit-id provided in the compass conf file and also
used to remove code duplications.
NOTE: For generating the kernel debian packages commit-id should be
provided in compass.conf file and the default type should be changed
to 'ubuntu' in build.sh script.
Change-Id: I7f0822c565100a44e5289d6af825289e697130aa
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'ci/test_kvmfornfv.sh')
-rwxr-xr-x | ci/test_kvmfornfv.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ci/test_kvmfornfv.sh b/ci/test_kvmfornfv.sh index 62b5c16f4..6540b18ca 100755 --- a/ci/test_kvmfornfv.sh +++ b/ci/test_kvmfornfv.sh @@ -20,6 +20,14 @@ 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 @@ -140,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 @@ -163,6 +173,8 @@ elif [ ${test_type} == "daily" ];then sed -i '/host-setup1.sh/a\ \- \"enable-trace.sh\"' kvmfornfv_cyclictest_hostenv_guestenv.yaml #Executing cyclictest through yardstick. cyclictest ${env} + #disabling ftrace and collecting the logs to upload to artifact repository. + ftrace_disable sleep 5 done else |