Merge "Use generic user for both zuul v2 and v3" into stable/ocata

This commit is contained in:
Zuul 2017-11-07 12:43:37 +00:00 committed by Gerrit Code Review
commit c8507aab89
2 changed files with 6 additions and 6 deletions

View File

@ -67,7 +67,7 @@ function archive_file {
local filename=$1
sudo gzip -9 $filename
sudo chown jenkins:jenkins $filename.gz
sudo chown $USER:stack $filename.gz
sudo chmod a+r $filename.gz
}
@ -82,7 +82,7 @@ function save_tempest_results {
# 1. Create destination directory
sudo mkdir $dst_dirname
sudo chown jenkins:jenkins $dst_dirname
sudo chown $USER:stack $dst_dirname
sudo chmod 755 $dst_dirname
# 2. Save tempest configuration file

View File

@ -16,8 +16,8 @@
# First argument ($1) expects 'multibackend' as value for setting appropriate
# tempest conf opts, all other values will assume singlebackend installation.
sudo chown -R jenkins:stack $BASE/new/tempest
sudo chown -R jenkins:stack $BASE/data/tempest
sudo chown -R $USER:stack $BASE/new/tempest
sudo chown -R $USER:stack $BASE/data/tempest
sudo chmod -R o+rx $BASE/new/devstack/files
# Import devstack functions 'iniset', 'iniget' and 'trueorfalse'
@ -319,7 +319,7 @@ for port in ${UDP_PORTS[*]}; do
done
echo "Running tempest manila test suites"
sudo -H -u jenkins tox -eall-plugin $MANILA_TESTS -- --concurrency=$MANILA_TEMPEST_CONCURRENCY
sudo -H -u $USER tox -eall-plugin $MANILA_TESTS -- --concurrency=$MANILA_TEMPEST_CONCURRENCY
RETVAL=$?
@ -341,7 +341,7 @@ if [[ "$DRIVER" == "dummy" ]]; then
manila type-key default set driver_handles_share_servers=False
echo "Running tempest manila test suites for DHSS=False mode"
sudo -H -u jenkins tox -eall-plugin $MANILA_TESTS -- --concurrency=$MANILA_TEMPEST_CONCURRENCY
sudo -H -u $USER tox -eall-plugin $MANILA_TESTS -- --concurrency=$MANILA_TEMPEST_CONCURRENCY
RETVAL2=$?
save_tempest_results 2