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

Issue 2906753003: Milo: Fix swarmbucket kitchen crashes (Closed)

Created:
3 years, 7 months ago by Ryan Tseng
Modified:
3 years, 7 months ago
Reviewers:
nodir
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: Fix swarmbucket kitchen crashes Currently if kitchen crashes, then Milo shows pending because it's waiting for a logdog stream (that would never appear). This fixes this case, and draws out the stats from the swarming job instead. BUG=697661 Review-Url: https://codereview.chromium.org/2906753003 Committed: https://github.com/luci/luci-go/commit/d06ec5035c609eb030e20b470ce6ceeb0d7f428c

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -0 lines) Patch
A milo/appengine/frontend/expectations/swarming.build-build-finished-logdog-expired-stream.html View 1 chunk +224 lines, -0 lines 0 comments Download
M milo/appengine/swarming/build.go View 1 2 chunks +34 lines, -0 lines 0 comments Download
A milo/appengine/swarming/expectations/build-finished-logdog-expired-stream.json View 1 chunk +45 lines, -0 lines 0 comments Download
A milo/appengine/swarming/testdata/build-finished-logdog-expired-stream View 1 chunk +1 line, -0 lines 0 comments Download
A milo/appengine/swarming/testdata/build-finished-logdog-expired-stream.swarm View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
Ryan Tseng
I don't have a sample of this on a dev server, so no example link ...
3 years, 7 months ago (2017-05-25 21:10:25 UTC) #4
nodir
lgtm https://codereview.chromium.org/2906753003/diff/1/milo/appengine/swarming/build.go File milo/appengine/swarming/build.go (right): https://codereview.chromium.org/2906753003/diff/1/milo/appengine/swarming/build.go#newcode542 milo/appengine/swarming/build.go:542: build.Summary.Started, err = time.Parse(time.RFC3339Nano, res.StartedTs+"Z") i think SwarmingTimeLayout ...
3 years, 7 months ago (2017-05-25 21:32:42 UTC) #7
Ryan Tseng
https://codereview.chromium.org/2906753003/diff/1/milo/appengine/swarming/build.go File milo/appengine/swarming/build.go (right): https://codereview.chromium.org/2906753003/diff/1/milo/appengine/swarming/build.go#newcode542 milo/appengine/swarming/build.go:542: build.Summary.Started, err = time.Parse(time.RFC3339Nano, res.StartedTs+"Z") On 2017/05/25 21:32:42, nodir ...
3 years, 7 months ago (2017-05-25 21:37:02 UTC) #10
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/2906753003/20001
3 years, 7 months ago (2017-05-25 21:37:17 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 21:44:23 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/d06ec5035c609eb030e20b470ce6ceeb0d7f428c

Powered by Google App Engine
This is Rietveld 408576698