Fix Zaqar gate DSVM tests to make them work

Currently all gate DSVM tests for Zaqar fail. Zaqar's gate_hook function
tries to cd to python-zaqarclient repository directory, but the
directory can't be found. Apparently python-zaqarclient repository
hasn't been cloned.

And in gate DSVM log log/devstacklog.txt.gz this line started to appear:
"The /opt/stack/new/python-zaqarclient project was not found; if this is
a gate job, add the project to the $PROJECTS variable in the job
definition."

See this patch for example of currently failing jobs:
https://review.openstack.org/#/c/259036/

Seems like the root cause of the problem is recent devstack-gate change:
https://review.openstack.org/#/c/234509

This patch adds python-zaqarclient project to the $PROJECTS variable to
Zaqar job in zaqar.yaml and Rally job in rally.yaml.

Change-Id: I9befe98fa7767c9244410f9220273c9791632f79
This commit is contained in:
Eva Balycheva 2015-12-25 14:15:27 +03:00
parent 39f32955d7
commit 2b034712c7
2 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,7 @@
fi
if [ $DEVSTACK_GATE_ZAQAR -ne 0 ]; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin zaqar git://git.openstack.org/openstack/zaqar"
export PROJECTS="openstack/python-zaqarclient $PROJECTS"
fi
export ENABLED_SERVICES
export DEVSTACK_LOCAL_CONFIG

View File

@ -61,6 +61,7 @@
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack/python-zaqarclient $PROJECTS"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export BRANCH_OVERRIDE={branch-override}