Bug 1400141 - Use redo params from nightly with a jitter r=bhearsum a=release
authorNick Thomas <nthomas@mozilla.com>
Tue, 19 Sep 2017 15:21:22 +0200
changeset 667038 16d9778c018a3c3aae3c6c62bc29258627ffed97
parent 666750 28fadaace7bd2189a6c13db6765bf04048a41789
child 667039 2a8f5f48a4b43b6ba44669a8df9b398057c7880f
push id80597
push userfelipc@gmail.com
push dateTue, 19 Sep 2017 16:33:20 +0000
reviewersbhearsum, release
bugs1400141
milestone56.0
Bug 1400141 - Use redo params from nightly with a jitter r=bhearsum a=release 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
@@ -171,18 +171,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"])
@@ -206,16 +207,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()