Bug 1400141 - Use redo params from nightly with a jitter r=bhearsum
authorNick Thomas <nthomas@mozilla.com>
Tue, 19 Sep 2017 15:21:22 +0200
changeset 667073 762071fc48dda899efa95501e531cc5a39e09aff
parent 667072 9f8c6be7d2f4216d3f87e091f8cfe238bab8ca1a
child 667074 9016e255c36ced248b09b1745a293dee6981db81
push id80609
push userbmo:mstriemer@mozilla.com
push dateTue, 19 Sep 2017 17:59:49 +0000
reviewersbhearsum
bugs1400141
milestone57.0a1
Bug 1400141 - Use redo params from nightly with a jitter r=bhearsum MozReview-Commit-ID: BjU6A9pOpKE
taskcluster/docker/funsize-balrog-submitter/scripts/funsize-balrog-submitter.py
--- a/taskcluster/docker/funsize-balrog-submitter/scripts/funsize-balrog-submitter.py
+++ b/taskcluster/docker/funsize-balrog-submitter/scripts/funsize-balrog-submitter.py
@@ -173,18 +173,19 @@ def main():
             productName = args.product or e["appName"]
             retry(lambda: submitter.run(
                 platform=e["platform"], productName=productName,
                 version=e["toVersion"],
                 build_number=e["toBuildNumber"],
                 appVersion=e["version"], extVersion=e["version"],
                 buildID=e["to_buildid"], locale=e["locale"],
                 hashFunction='sha512',
-                partialInfo=partial_info, completeInfo=complete_info,
-            ))
+                partialInfo=partial_info, completeInfo=complete_info),
+                attempts=30, sleeptime=10, max_sleeptime=60, jitter=3,
+            )
         elif "from_buildid" in e and uploads_enabled:
             log.info("Nightly style balrog submission")
             partial_mar_url = "{}/{}".format(args.artifacts_url_prefix,
                                              e["mar"])
             complete_mar_url = e["to_mar"]
             dest_prefix = "{branch}/{buildid}".format(
                 branch=e["branch"], buildid=e["to_buildid"])
             partial_mar_dest = "{}/{}".format(dest_prefix, e["mar"])
@@ -208,16 +209,16 @@ def main():
                                            dummy=args.dummy)
             productName = args.product or e["appName"]
             retry(lambda: submitter.run(
                 platform=e["platform"], buildID=e["to_buildid"],
                 productName=productName, branch=e["branch"],
                 appVersion=e["version"], locale=e["locale"],
                 hashFunction='sha512', extVersion=e["version"],
                 partialInfo=partial_info, completeInfo=complete_info),
-                attempts=30, sleeptime=10, max_sleeptime=60,
+                attempts=30, sleeptime=10, max_sleeptime=60, jitter=3,
             )
         else:
             raise RuntimeError("Cannot determine Balrog submission style")
 
 
 if __name__ == '__main__':
     main()