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

Issue 2717623002: Milo: Handle missing / transient LogDog failures. (Closed)

Created:
3 years, 9 months ago by dnj
Modified:
3 years, 9 months ago
Reviewers:
nodir, hinoka
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Milo: Handle missing / transient LogDog failures. If a build is labelled as having a LogDog stream, Milo will unconditionally try and load that stream. This falls apart if the build has either not started yet, or if the LogDog annotation stream is not available due to natural ingest delay. This will prevent stream loading if the build hasn't started yet, and will retry LogDog transient and not-found errors prior to failing absolutely. BUG=chromium:692245, chromium:694913 TEST=None R=hinoka@chromium.org, nodir@chromium.org Review-Url: https://codereview.chromium.org/2717623002 Committed: https://github.com/luci/luci-go/commit/887de917e6e7d48a151293fd298d22519c86b6af

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove retries, test new stuff #

Patch Set 3 : remote unnecessary code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+977 lines, -43 lines) Patch
M logdog/common/types/streamaddr.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
A milo/appengine/frontend/expectations/bootstrap-swarming.TestableBuild-build-pending-logdog.html View 1 1 chunk +128 lines, -0 lines 0 comments Download
A milo/appengine/frontend/expectations/bootstrap-swarming.TestableBuild-build-running-logdog-no-annotation-stream.html View 1 1 chunk +121 lines, -0 lines 0 comments Download
A milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-pending-logdog.html View 1 1 chunk +241 lines, -0 lines 0 comments Download
A milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-running-logdog-no-annotation-stream.html View 1 1 chunk +222 lines, -0 lines 0 comments Download
M milo/appengine/logdog/build.go View 1 3 chunks +4 lines, -23 lines 0 comments Download
M milo/appengine/logdog/http.go View 1 1 chunk +19 lines, -1 line 0 comments Download
M milo/appengine/swarming/build.go View 1 7 chunks +59 lines, -17 lines 0 comments Download
A milo/appengine/swarming/expectations/build-pending-logdog.json View 1 1 chunk +68 lines, -0 lines 0 comments Download
A milo/appengine/swarming/expectations/build-running-logdog-no-annotation-stream.json View 1 1 chunk +66 lines, -0 lines 0 comments Download
M milo/appengine/swarming/html_data.go View 1 2 2 chunks +15 lines, -2 lines 0 comments Download
A milo/appengine/swarming/testdata/build-pending-logdog.swarm View 1 1 chunk +21 lines, -0 lines 0 comments Download
A milo/appengine/swarming/testdata/build-running-logdog-no-annotation-stream.swarm View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
dnj
3 years, 9 months ago (2017-02-24 00:55:17 UTC) #1
hinoka
lgtm + comment. I have a preference for 404's from logdog not being retried and ...
3 years, 9 months ago (2017-02-24 01:30:49 UTC) #2
dnj
OK, removed the retries. https://codereview.chromium.org/2717623002/diff/1/milo/appengine/logdog/build.go File milo/appengine/logdog/build.go (right): https://codereview.chromium.org/2717623002/diff/1/milo/appengine/logdog/build.go#newcode130 milo/appengine/logdog/build.go:130: case coordinator.ErrNoSuchStream: On 2017/02/24 01:30:49, ...
3 years, 9 months ago (2017-02-24 03:24:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2717623002/40001
3 years, 9 months ago (2017-02-24 03:29:35 UTC) #6
commit-bot: I haz the power
3 years, 9 months ago (2017-02-24 03:38:45 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/887de917e6e7d48a151293fd298d22519c86b6af

Powered by Google App Engine
This is Rietveld 408576698