diff --git a/testing/mozharness/mozharness/mozilla/taskcluster_helper.py b/testing/mozharness/mozharness/mozilla/taskcluster_helper.py index d357e74ac73..6192f9ec3d2 100644 --- a/testing/mozharness/mozharness/mozilla/taskcluster_helper.py +++ b/testing/mozharness/mozharness/mozilla/taskcluster_helper.py @@ -116,6 +116,9 @@ class Taskcluster(LogMixin): mime_type = self.get_mime_type(os.path.splitext(filename)[1]) self.info("Create reference artifact: filename=%s mimetype=%s url=%s" % (filename, mime_type, url)) + # reclaim the task to avoid "claim-expired" errors + self.taskcluster_queue.reclaimTask( + task['status']['taskId'], task['status']['runs'][-1]['runId']) self.taskcluster_queue.createArtifact( task['status']['taskId'], task['status']['runs'][-1]['runId'],