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

Issue 2695383002: milo: Enable Swarming LogDog log loading. (Closed)

Created:
3 years, 10 months ago by dnj
Modified:
3 years, 10 months ago
Reviewers:
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: Enable Swarming LogDog log loading. Enable Swarming builds to load directly from Milo annotation streams when the build contains a LogDog "log_location" tag. To do this, Swarming parses the tags when it fetches a task result. If the tags include a "log_location" tag, and that location is LogDog, it will terminate any log fetching (if applicable) and, rather than parse Swarming logs through Annotee, load the annotation protobuf instead. To enable this, we introduce the concept of a LogDog URL: logdog://host/project/prefix/+/name This URL is handled in the LogDog "types" package. BUG=chromium:692220 TEST=unit Review-Url: https://codereview.chromium.org/2695383002 Committed: https://github.com/luci/luci-go/commit/0118a73d6c8f7cb94001978d89424a82b0b37d37

Patch Set 1 #

Total comments: 16

Patch Set 2 : Comments, fix links. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1338 lines, -222 lines) Patch
A logdog/common/types/streamaddr.go View 1 1 chunk +80 lines, -0 lines 0 comments Download
A logdog/common/types/streamaddr_test.go View 1 1 chunk +60 lines, -0 lines 0 comments Download
M logdog/common/types/streamname_test.go View 3 chunks +6 lines, -0 lines 0 comments Download
M milo/appengine/buildbot/buildinfo.go View 1 4 chunks +21 lines, -17 lines 0 comments Download
A milo/appengine/frontend/expectations/bootstrap-swarming.TestableBuild-build-running-logdog.html View 1 1 chunk +193 lines, -0 lines 0 comments Download
A milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-running-logdog.html View 1 1 chunk +307 lines, -0 lines 0 comments Download
M milo/appengine/logdog/build.go View 1 4 chunks +19 lines, -23 lines 0 comments Download
M milo/appengine/logdog/http.go View 1 2 chunks +18 lines, -3 lines 0 comments Download
M milo/appengine/swarming/build.go View 1 11 chunks +139 lines, -27 lines 0 comments Download
M milo/appengine/swarming/build_test.go View 3 chunks +27 lines, -9 lines 0 comments Download
M milo/appengine/swarming/buildinfo.go View 1 8 chunks +52 lines, -35 lines 0 comments Download
M milo/appengine/swarming/buildinfo_test.go View 3 chunks +10 lines, -55 lines 0 comments Download
A milo/appengine/swarming/expectations/build-running-logdog.json View 1 1 chunk +159 lines, -0 lines 0 comments Download
M milo/appengine/swarming/html.go View 2 chunks +6 lines, -2 lines 0 comments Download
M milo/appengine/swarming/html_data.go View 4 chunks +152 lines, -51 lines 0 comments Download
A milo/appengine/swarming/testdata/build-running-logdog View 1 chunk +8 lines, -0 lines 0 comments Download
A milo/appengine/swarming/testdata/build-running-logdog.swarm View 1 chunk +10 lines, -0 lines 0 comments Download
A milo/appengine/swarming/testdata/build-running-logdog.pb.txt View 1 chunk +71 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
dnj
PTAL
3 years, 10 months ago (2017-02-16 00:50:18 UTC) #2
hinoka
lgtm % comments and names https://codereview.chromium.org/2695383002/diff/1/logdog/common/types/url.go File logdog/common/types/url.go (right): https://codereview.chromium.org/2695383002/diff/1/logdog/common/types/url.go#newcode18 logdog/common/types/url.go:18: type Stream struct { ...
3 years, 10 months ago (2017-02-16 02:08:21 UTC) #3
dnj
https://codereview.chromium.org/2695383002/diff/1/logdog/common/types/url.go File logdog/common/types/url.go (right): https://codereview.chromium.org/2695383002/diff/1/logdog/common/types/url.go#newcode18 logdog/common/types/url.go:18: type Stream struct { On 2017/02/16 02:08:21, hinoka wrote: ...
3 years, 10 months ago (2017-02-16 02:20:52 UTC) #4
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/2695383002/20001
3 years, 10 months ago (2017-02-16 02:22:17 UTC) #7
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 03:04:07 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/0118a73d6c8f7cb94001978d89424a82b0b37d37

Powered by Google App Engine
This is Rietveld 408576698