Browse Source

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
Javier Pena 3 months ago
parent
commit
627e2f77cd
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      run_tests.sh

+ 2
- 0
run_tests.sh View File

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

Loading…
Cancel
Save