Bug 1501250 - Intermittent [worker:error] distutils.errors.DistutilsFileError: cannot copy tree '/builds/worker/artifacts': not a directory, r=pmoore
authorDragos Crisan <dcrisan@mozilla.com>
Wed, 24 Oct 2018 10:40:33 +0300
changeset 491050 460f9791ba8a7c40171fe8762bb827c59c83e9e3
parent 491049 915d77bbcf8b9eafb9a51af01e06c146175f1dfc
child 491051 8be2131ed18337d6d5011d51aa9d9f39aefff495
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewerspmoore
bugs1501250
milestone65.0a1
Bug 1501250 - Intermittent [worker:error] distutils.errors.DistutilsFileError: cannot copy tree '/builds/worker/artifacts': not a directory, r=pmoore
taskcluster/taskgraph/transforms/job/mozharness_test.py
--- a/taskcluster/taskgraph/transforms/job/mozharness_test.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness_test.py
@@ -443,16 +443,17 @@ def mozharness_test_on_script_engine_aut
         'MOZHARNESS_URL': {'task-reference': mozharness_url},
         'MOZILLA_BUILD_URL': {'task-reference': installer_url},
         "MOZ_NO_REMOTE": '1',
         "XPCOM_DEBUG_BREAK": 'warn',
         "NO_FAIL_ON_TEST_ERRORS": '1',
         "MOZ_HIDE_RESULTS_TABLE": '1',
         "MOZ_NODE_PATH": "/usr/local/bin/node",
         'MOZ_AUTOMATION': '1',
+        'WORKING_DIR': '/builds/worker',
         'WORKSPACE': '/builds/worker/workspace',
         'TASKCLUSTER_WORKER_TYPE': job['worker-type'],
     }
 
     # for fetch tasks on mobile
     if 'env' in job['worker'] and 'MOZ_FETCHES' in job['worker']['env']:
         env['MOZ_FETCHES'] = job['worker']['env']['MOZ_FETCHES']
         env['MOZ_FETCHES_DIR'] = job['worker']['env']['MOZ_FETCHES_DIR']