From 8918b76bd24cc731e9358ba170f2a441a392fdff Mon Sep 17 00:00:00 2001 From: chenhb Date: Fri, 28 Jun 2019 17:01:37 +0800 Subject: [PATCH] [gates] Fix `tox` command issue to unblock gate The error Info: py.error.EACCES: [Permission denied]: mkdir('/home/zuul/src/opendev.org/openstack/rally-openstack/.tox',) looks it is access right issue. Change-Id: Ib68711fad110ca7ab58274aa654cb433d371f2d6 --- tests/ci/playbooks/roles/run-rally-tox/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ci/playbooks/roles/run-rally-tox/tasks/main.yaml b/tests/ci/playbooks/roles/run-rally-tox/tasks/main.yaml index 0776542e..7d203e17 100644 --- a/tests/ci/playbooks/roles/run-rally-tox/tasks/main.yaml +++ b/tests/ci/playbooks/roles/run-rally-tox/tasks/main.yaml @@ -5,6 +5,6 @@ executable: /bin/sh cmd: | set -e - cd {{ zuul.project.src_dir }} + cd /opt/stack/rally-openstack export REQUESTS_CA_BUNDLE=/opt/stack/data/ca-bundle.pem - tox -e {{ rally_tox_env }} \ No newline at end of file + tox -e {{ rally_tox_env }}