Backed out changeset 565215cf2e5e (bug 1501802) for causing mass mda failures. CLOSED TREE
authorCosmin Sabou <csabou@mozilla.com>
Thu, 15 Nov 2018 09:17:08 +0200
changeset 502915 48720735b142b5f96db418e8ee7c4882f22805d9
parent 502914 e952a2b3d4ef4f909c5dc25a9521a9c582647e3d
child 502971 dca9c72df68bb59692118595dea65b78cde5b371
child 502972 f1455bc47683cfb08083e60506a612d190419d1e
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1501802
milestone65.0a1
backs out565215cf2e5e42034860257f4ea4b5d0b0adf75d
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
Backed out changeset 565215cf2e5e (bug 1501802) for causing mass mda failures. CLOSED TREE
python/mozbuild/mozbuild/action/tooltool.py
testing/mozharness/external_tools/tooltool.py
--- a/python/mozbuild/mozbuild/action/tooltool.py
+++ b/python/mozbuild/mozbuild/action/tooltool.py
@@ -489,19 +489,20 @@ def fetch_file(base_urls, file_record, g
                     out.write(indata)
                     size += len(indata)
                     if indata == '':
                         k = False
                 log.info("File %s fetched from %s as %s" %
                          (file_record.filename, base_url, temp_path))
                 fetched_path = temp_path
                 break
-        except (urllib2.URLError, urllib2.HTTPError, ValueError):
+        except (urllib2.URLError, urllib2.HTTPError, ValueError) as e:
             log.info("...failed to fetch '%s' from %s" %
-                     (file_record.filename, base_url), exc_info=True)
+                     (file_record.filename, base_url))
+            log.debug("%s" % e)
         except IOError:  # pragma: no cover
             log.info("failed to write to temporary file for '%s'" %
                      file_record.filename, exc_info=True)
 
     # cleanup temp file in case of issues
     if fetched_path:
         return os.path.split(fetched_path)[1]
     else:
--- a/testing/mozharness/external_tools/tooltool.py
+++ b/testing/mozharness/external_tools/tooltool.py
@@ -487,19 +487,20 @@ def fetch_file(base_urls, file_record, g
                     out.write(indata)
                     size += len(indata)
                     if indata == '':
                         k = False
                 log.info("File %s fetched from %s as %s" %
                          (file_record.filename, base_url, temp_path))
                 fetched_path = temp_path
                 break
-        except (urllib2.URLError, urllib2.HTTPError, ValueError):
+        except (urllib2.URLError, urllib2.HTTPError, ValueError) as e:
             log.info("...failed to fetch '%s' from %s" %
-                     (file_record.filename, base_url), exc_info=True)
+                     (file_record.filename, base_url))
+            log.debug("%s" % e)
         except IOError:  # pragma: no cover
             log.info("failed to write to temporary file for '%s'" %
                      file_record.filename, exc_info=True)
 
     # cleanup temp file in case of issues
     if fetched_path:
         return os.path.split(fetched_path)[1]
     else: