From 9e0735444c9a8a3a526dee57411b102b049f1227 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Thu, 7 May 2015 17:48:21 +0200 Subject: [PATCH] Fix gate_hook and post_test_hook perms Files weren't executable, hence the gate failures we've been seeing. Change-Id: I34b6c3eeb253f2bf0f317b2533734c40f5e3aa6a --- devstack/gate/gate_hook.sh | 2 +- devstack/gate/post_test_hook.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) mode change 100644 => 100755 devstack/gate/gate_hook.sh mode change 100644 => 100755 devstack/gate/post_test_hook.sh diff --git a/devstack/gate/gate_hook.sh b/devstack/gate/gate_hook.sh old mode 100644 new mode 100755 index 3d0efac25..bca16d43d --- a/devstack/gate/gate_hook.sh +++ b/devstack/gate/gate_hook.sh @@ -19,7 +19,7 @@ ENABLED_SERVICES="mysql,key,tempest,zaqar-server," export DEVSTACK_GATE_ZAQAR=1 export DEVSTACK_GATE_INSTALL_TESTONLY=1 export DEVSTACK_GATE_NO_SERVICES=1 -export DEVSTACK_GATE_TEMPEST=1 +export DEVSTACK_GATE_TEMPEST=0 export DEVSTACK_GATE_EXERCISES=0 export DEVSTACK_GATE_TIMEOUT=90 export KEEP_LOCALRC=1 diff --git a/devstack/gate/post_test_hook.sh b/devstack/gate/post_test_hook.sh old mode 100644 new mode 100755 index c705ac479..2e2f6267d --- a/devstack/gate/post_test_hook.sh +++ b/devstack/gate/post_test_hook.sh @@ -14,7 +14,7 @@ # This script is executed inside post_test_hook function in devstack gate. -source $BASE/new/devstack/openrc admin admin +# source $BASE/new/devstack/openrc admin admin function generate_test_results { if [ -f .testrepository/0 ]; then @@ -26,8 +26,6 @@ function generate_test_results { sudo chown jenkins:jenkins $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz sudo chmod a+r $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz fi - - gzip -9 -c /var/log/zaqar/queues.log > $WORKSPACE/logs/queues.log.txt.gz } set -x