summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2015-12-09 16:52:40 +0500
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-09 14:12:13 +0000
commit21514368a6e578e4cc971ea8479086311db14c8d (patch)
treec57aed192d45378f2f4b69c4d224827de838e312 /jjb
parent08387d724a8be364d353048acfe92a8fecfaec91 (diff)
Patch to debug problem for QTIP JJB on dell-testing-pod
fetch-os-creds.sh unable to create opnfv-openrc.sh file due to unauthorized issue. Patch tries to debug the problem by echoing $HOME As a temporary workaround, file to be created in $WORKSPACE. Temorary workaroud to be fixed later Change-Id: Ie6cd00cf0f8aab1c7ec3f8a761baff7cf6f0be3b Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/qtip/qtip.yml22
1 files changed, 14 insertions, 8 deletions
diff --git a/jjb/qtip/qtip.yml b/jjb/qtip/qtip.yml
index d4d21a35d..c08b1ca50 100644
--- a/jjb/qtip/qtip.yml
+++ b/jjb/qtip/qtip.yml
@@ -225,11 +225,11 @@
builders:
- shell: |
#! /bin/bash
- if [[ ! -f $HOME/opnfv-openrc.sh ]]; then
- echo "Unable to access file $HOME/opnfv-openrc.sh"
+ if [[ ! -f $WORKSPACE/opnfv-openrc.sh ]]; then
+ echo "Unable to access file $WORKSPACE/opnfv-openrc.sh"
exit 1
fi
- source $HOME/opnfv-openrc.sh
+ source $WORKSPACE/opnfv-openrc.sh
cd $WORKSPACE
echo "Running QTIP dhrystone with First Test case"
python qtip.py -s compute -b dhrystone_serial.yaml
@@ -240,11 +240,11 @@
builders:
- shell: |
#!/bin/bash
- if [[ ! -f $HOME/opnfv-openrc.sh ]]; then
- echo "Unable to access file $HOME/opnfv-openrc.sh"
+ if [[ ! -f $WORKSPACE/opnfv-openrc.sh ]]; then
+ echo "Unable to access file $WORKSPACE/opnfv-openrc.sh"
exit 1
fi
- source $HOME/opnfv-openrc.sh
+ source $WORKSPACE/opnfv-openrc.sh
cd $WORKSPACE
echo "Running QTIP dhrystone with Second Test case"
python qtip.py -s compute -b ssl_parallel.yaml
@@ -252,5 +252,11 @@
- builder:
name: qtip-fetch-os-cred
builders:
- - shell:
- !include-raw ../../utils/fetch_os_creds.sh
+ - shell: |
+ echo $HOME
+ echo $WORKSPACE
+ cd $WORKSPACE
+ git clone https://gerrit.opnfv.org/gerrit/releng
+ cd $WORKSPACE/releng/utils
+ ./fetch_os_creds.sh #To test the problem with creating the file in $HOME
+ ./fetch_os_creds.sh -d $WORKSPACE #To test if the file can be created in $WORKSPACE