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

Issue 1375343005: apply_issue: catch all Rietveld flakiness failures. (Closed)

Created:
5 years, 2 months ago by tandrii(chromium)
Modified:
5 years, 2 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

apply_issue: catch all Rietveld flakiness failures. R=iannucci@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=296990

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M apply_issue.py View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Sergey Berezin
LGTM since we're on fire, but this code is due for cleanup once the fire's ...
5 years, 2 months ago (2015-10-02 17:18:48 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375343005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375343005/1
5 years, 2 months ago (2015-10-02 17:19:46 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1) as http://src.chromium.org/viewvc/chrome?view=rev&revision=296990
5 years, 2 months ago (2015-10-02 17:21:54 UTC) #5
jam
nit: looks like http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/112610 got diagnosed as infra failure, when the developer had just deleted ...
5 years, 2 months ago (2015-10-03 00:56:53 UTC) #6
tandrii(chromium)
On 2015/10/03 00:56:53, jam wrote: > nit: looks like > http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/112610 > got diagnosed as ...
5 years, 2 months ago (2015-10-05 13:49:53 UTC) #7
Sergiy Byelozyorov
Similar patch is needed in git_cl.py:1070 and git_cl.py:1082. Probably also with retries... we fail to ...
5 years, 2 months ago (2015-10-05 20:02:27 UTC) #9
Sergey Berezin
On 2015/10/05 20:02:27, Sergiy Byelozyorov wrote: > Similar patch is needed in git_cl.py:1070 and git_cl.py:1082. ...
5 years, 2 months ago (2015-10-05 21:57:13 UTC) #10
tandrii(chromium)
On 2015/10/05 20:02:27, Sergiy Byelozyorov wrote: > Similar patch is needed in git_cl.py:1070 and git_cl.py:1082. ...
5 years, 2 months ago (2015-10-05 21:58:12 UTC) #11
Sergey Berezin
On 2015/10/05 21:58:12, tandrii(chromium) wrote: > On 2015/10/05 20:02:27, Sergiy Byelozyorov wrote: > > Similar ...
5 years, 2 months ago (2015-10-05 22:02:48 UTC) #12
tandrii(chromium)
5 years, 2 months ago (2015-10-05 22:25:05 UTC) #13
Message was sent while issue was closed.
On 2015/10/05 22:02:48, Sergey Berezin wrote:
> On 2015/10/05 21:58:12, tandrii(chromium) wrote:
> > On 2015/10/05 20:02:27, Sergiy Byelozyorov wrote:
> > > Similar patch is needed in git_cl.py:1070 and git_cl.py:1082. Probably
also
> > with
> > > retries... we fail to catch URLError there and fail all the way though.
> > 
> > I disagree. This patch doesn't add any retry logic, it merely changes return
> > code. `git cl *` isn't used on normal bots, afaik, only on autorollers and
> other
> > specialized tooling. 
> 
> Autorollers are bots, so it's used :-) I don't see how at least some limited
> retry can hurt there. 
Agree, it doesn't hurt, and after this new Win error as well most others (like
5xx) are retried 40 times with 15 secs timeout each (by default). That's what
that CL below was for. Since most tools import rietveld.py to talk to rietveld,
duplicating retry logic in them is not good. But retrying all but whitelisted
error in rietveld.py is a good thing (http://crbug.com/539580).

We still have buildbucket and stuff, so thanks for filing that second bug!

> > Finally, the retries are inside rietveld.py, and since I landed this
> > https://codereview.chromium.org/1388463002 this weird URlError won't be
raised
> > any more, unless it fails 40 times.

Powered by Google App Engine
This is Rietveld 408576698