From 627e2f77cd9890e0ee78072687cd967f7eca7a14 Mon Sep 17 00:00:00 2001 From: Javier Pena Date: Wed, 16 Jan 2019 16:30:31 +0100 Subject: [PATCH] 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 --- run_tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_tests.sh b/run_tests.sh index f43ecdc21..f670c21d4 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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