summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-04-26 11:01:05 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-04-26 11:01:05 +0200
commit1e0279434d929c543cde79d4ffce731522f487c9 (patch)
tree4dc47416c0353067f6b583703a193eac24608fed
parentb928cfe52ebd932a8a67983385af6a6a302985c6 (diff)
Take DEBUG into account in gates
It completes [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/67700/ Change-Id: I11a6850c8cbfc02bb0717945e78f35f0e8cefc83 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rwxr-xr-xjjb/functest/functest-alpine.sh3
-rw-r--r--jjb/functest/functest.yaml1
-rw-r--r--jjb/functest/xtesting.yaml1
3 files changed, 4 insertions, 1 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh
index b2a976474..2162bf828 100755
--- a/jjb/functest/functest-alpine.sh
+++ b/jjb/functest/functest-alpine.sh
@@ -105,7 +105,8 @@ test -f ${HOME}/opnfv/functest/custom/params_${DOCKER_TAG} && custom_params=$(ca
envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \
-e NODE_NAME=${NODE_NAME} -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO} \
-e BUILD_TAG=${BUILD_TAG} -e DEPLOY_TYPE=${DEPLOY_TYPE} -e CI_LOOP=${CI_LOOP} \
- -e TEST_DB_URL=${TEST_DB_URL} -e ENERGY_RECORDER_API_URL=${ENERGY_RECORDER_API_URL}"
+ -e TEST_DB_URL=${TEST_DB_URL} -e ENERGY_RECORDER_API_URL=${ENERGY_RECORDER_API_URL} \
+ -e DEBUG=true"
ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index 9792950b7..d4429b3f3 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -99,6 +99,7 @@
sudo docker run --rm \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-e EXTERNAL_NETWORK=public \
+ -e DEBUG=true \
-v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
-v /home/opnfv/functest/images:/home/opnfv/functest/images \
$image run_tests -t {test}
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml
index 94e00d16c..48c0952cc 100644
--- a/jjb/functest/xtesting.yaml
+++ b/jjb/functest/xtesting.yaml
@@ -98,6 +98,7 @@
fi
sudo docker run --rm \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
+ -e DEBUG=true \
$image run_tests -t {test}
res=$?
gsutil -m cp -r $WORKSPACE/ \