Bug 1218763 - Antivirus should retry on SSLError. r=nthomas DONTBUILD
authorRail Aliiev <rail@mozilla.com>
Wed, 28 Oct 2015 08:19:13 -0400
changeset 305151 df5f057d1277ec9dd27cfbafb0fc26c3a652b92d
parent 305150 113e563fd0e75fa24709eabafdbda4f065a08a1b
child 305152 1949b1c7fccd2f0293839ce8b27895680973b88a
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas
bugs1218763
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1218763 - Antivirus should retry on SSLError. r=nthomas 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))