summaryrefslogtreecommitdiffstats
path: root/ci/cyclicTestTrigger.sh
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-01-05 12:08:27 +0530
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2017-02-08 14:35:31 +0000
commitbe208cb48be4f4db438ce27be15e1f6166c26910 (patch)
tree9e0927d58be2bc3482f2cc4ccfe5f2dc337b27d2 /ci/cyclicTestTrigger.sh
parent2046178d894438b492d93f30941076ee7964f6ab (diff)
Enabling ftrace for kernel debugging.
This patch contains updated scripts to enable ftrace for kernel debugging and storing the log files to artifact repository. Change-Id: I81b8f987c2c214ca53a6e4502ad953a9adbc6be9 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'ci/cyclicTestTrigger.sh')
-rwxr-xr-xci/cyclicTestTrigger.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/cyclicTestTrigger.sh b/ci/cyclicTestTrigger.sh
index d222ae15b..b10acddd1 100755
--- a/ci/cyclicTestTrigger.sh
+++ b/ci/cyclicTestTrigger.sh
@@ -13,6 +13,7 @@ testType=$3
testName=$4
source $WORKSPACE/ci/envs/utils.sh
+source $WORKSPACE/ci/envs/host-config
KERNELRPM_VERSION=$( getKernelVersion )
QEMURPM_VERSION=$( getQemuVersion )
@@ -110,7 +111,7 @@ function runCyclicTest {
if [ ${?} -ne 0 ] ; then
echo "Docker image build failed"
id=$(sudo docker ps -a | head -2 | tail -1 | awk '{print $1}'); sudo docker rm -f $id
- exit 1
+ err_exit 1
fi
time_stamp=$(date +%Y%m%d%H%M%S)
volume=/tmp/kvmtest-${testType}-${time_stamp}