Work around Fedora umask issues in run_tests.sh

We are having issues in some CI jobs running on Fedora images. They
are caused by a combination of factors that create the wrong umask.

Change-Id: I2114f688a8fd78311cb045a9b7560ed3360970ad
This commit is contained in:
Javier Pena 2019-01-16 16:30:31 +01:00 committed by Javier Peña
parent 926bc175be
commit 627e2f77cd

View File

@ -277,6 +277,8 @@ result=$?
# Print output and generate subunit if results exist
if [ -d /var/lib/tempest ]; then
# FIXME(jpena): Work around Fedora image issues with umask
$SUDO chown -R $USER /var/lib/tempest
pushd /var/lib/tempest
if [ -d .testrepository ]; then
$SUDO /usr/bin/testr last || true