From 1e0279434d929c543cde79d4ffce731522f487c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Fri, 26 Apr 2019 11:01:05 +0200 Subject: [PATCH] Take DEBUG into account in gates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It completes [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/67700/ Change-Id: I11a6850c8cbfc02bb0717945e78f35f0e8cefc83 Signed-off-by: Cédric Ollivier --- jjb/functest/functest-alpine.sh | 3 ++- jjb/functest/functest.yaml | 1 + jjb/functest/xtesting.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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/ \ -- 2.16.6