Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1179)

Unified Diff: commit-queue/verification/try_job_on_rietveld.py

Issue 64983002: CQ: catch IOError thrown on socket timeouts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit-queue/verification/try_job_on_rietveld.py
===================================================================
--- commit-queue/verification/try_job_on_rietveld.py (revision 233311)
+++ commit-queue/verification/try_job_on_rietveld.py (working copy)
@@ -747,6 +747,12 @@
return False
else:
raise
+ except IOError as e:
+ # Temporary AppEngine hiccup. Just log it and return failure.
+ if e.errno == 'socket error':
+ logging.warning(str(e))
+ return False
+ raise
except socket.error as e:
M-A Ruel 2013/11/07 19:36:05 I think socket.error inherits from IOError, so thi
Paweł Hajdan Jr. 2013/11/07 21:02:16 In my tests it didn't behave that way. I think som
# Temporary AppEngine hiccup. Just log it and return failure.
if e.errno == errno.ECONNRESET:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698