Bug 1218763 - Antivirus should retry on SSLError, r=nthomas, a=lizzard DONTBUILD
authorRail Aliiev <rail@mozilla.com>
Wed, 28 Oct 2015 12:28:40 +1300
changeset 296639 40ae04af867c
parent 296638 9211dd55954e
child 296640 f2f176ef9b45
push id5268
push userraliiev@mozilla.com
push date2015-11-04 13:08 +0000
treeherdermozilla-beta@f2f176ef9b45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas, lizzard
bugs1218763
milestone43.0
Bug 1218763 - Antivirus should retry on SSLError, r=nthomas, a=lizzard DONTBUILD
testing/mozharness/scripts/release/antivirus.py
--- a/testing/mozharness/scripts/release/antivirus.py
+++ b/testing/mozharness/scripts/release/antivirus.py
@@ -150,17 +150,18 @@ class AntivirusScan(BaseScript, Virtuale
         def worker(item):
             source, destination = item
 
             self.info("Downloading {} to {}".format(source, destination))
             key = bucket.get_key(source)
             return retry(key.get_contents_to_filename,
                          args=(destination, ),
                          sleeptime=5, max_sleeptime=60,
-                         retry_exceptions=(S3CopyError, S3ResponseError))
+                         retry_exceptions=(S3CopyError, S3ResponseError,
+                                           IOError))
 
         def find_release_files():
             candidates_prefix = self._get_candidates_prefix()
             self.info("Getting key names from candidates")
             for key in bucket.list(prefix=candidates_prefix):
                 keyname = key.name
                 if self._matches_exclude(keyname):
                     self.debug("Excluding {}".format(keyname))