Bug 1314807 - Change ownership of files in workspace; r=dustin
authorGregory Szorc <gps@mozilla.com>
Thu, 03 Nov 2016 08:10:15 -0700
changeset 320928 e81cbf6ee940b7cb3bd1fab044f3db091bf943d4
parent 320927 aa134dc8e0c73c67f044bba35718ad50a2430c6f
child 320929 f9e1ac58390649526fd81d27968cc90e350afbe6
push id30913
push userkwierso@gmail.com
push dateFri, 04 Nov 2016 19:14:07 +0000
treeherdermozilla-central@753433776a5e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1314807
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1314807 - Change ownership of files in workspace; r=dustin The other changesets for this bug worked on Try but failed on autoland due to permissions failures in /home/worker/workspace. Ensure the files have the proper permissions. The path is a cache with the repo and build type keyed into it. So there should be no problem with this change causing permissions issues for other tasks.
taskcluster/taskgraph/transforms/job/hazard.py
--- a/taskcluster/taskgraph/transforms/job/hazard.py
+++ b/taskcluster/taskgraph/transforms/job/hazard.py
@@ -80,12 +80,13 @@ def docker_worker_hazard(config, job, ta
 
     # build-haz-linux.sh needs this otherwise it assumes the checkout is in
     # the workspace.
     env['GECKO_DIR'] = '/home/worker/checkouts/gecko'
 
     worker['command'] = [
         '/home/worker/bin/run-task',
         '--chown-recursive', '/home/worker/tooltool-cache',
+        '--chown-recursive', '/home/worker/workspace',
         '--vcs-checkout', '/home/worker/checkouts/gecko',
         '--',
         '/bin/bash', '-c', run['command']
     ]