From a8b099d552dea1a422b14926ed9939e100f49c20 Mon Sep 17 00:00:00 2001 From: Rail Aliiev Date: Wed, 2 Mar 2016 19:50:30 -0500 Subject: [PATCH] Bug 1252725 - artifacts tasks should be reclaimed to avoid timeouts r=jlund a=testing DONTBUILD --- testing/mozharness/mozharness/mozilla/taskcluster_helper.py | 3 +++ 1 file changed, 3 insertions(+) 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'],