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

Issue 2043853002: Complete CIPD integration (Closed)

Created:
4 years, 6 months ago by nodir
Modified:
4 years, 6 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@run-isolated-cipd
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Complete CIPD integration These are last bits of CIPD integration MVP: - pipe cipd parameters from bot manigest to run_isolated.py - pipe cipd stats from run_isolated.py back to server and store it in datastore - update user task page to display the list of CIPD input and installation duration R=maruel@chromium.org BUG=601022 Committed: https://github.com/luci/luci-py/commit/006f9a416983c09c8bc188358ee6aae7ebe6e1cb

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 2

Patch Set 3 : rebased and nit #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -7 lines) Patch
M appengine/swarming/handlers_bot.py View 1 2 4 chunks +8 lines, -4 lines 2 comments Download
M appengine/swarming/server/task_request.py View 1 chunk +3 lines, -0 lines 0 comments Download
M appengine/swarming/server/task_result.py View 2 chunks +14 lines, -2 lines 0 comments Download
M appengine/swarming/server/task_result_test.py View 1 1 chunk +7 lines, -0 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/task_runner.py View 1 2 3 chunks +20 lines, -1 line 3 comments Download
M appengine/swarming/templates/user_task.html View 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043853002/20001
4 years, 6 months ago (2016-06-06 17:20:46 UTC) #2
nodir
PTAL. Will add tests
4 years, 6 months ago (2016-06-06 17:21:03 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-06 17:23:57 UTC) #5
M-A Ruel
This CL looks good, will finalise review once the dependent one is done. https://codereview.chromium.org/2043853002/diff/20001/appengine/swarming/swarming_bot/bot_code/task_runner.py File ...
4 years, 6 months ago (2016-06-06 23:54:28 UTC) #6
nodir
https://codereview.chromium.org/2043853002/diff/20001/appengine/swarming/swarming_bot/bot_code/task_runner.py File appengine/swarming/swarming_bot/bot_code/task_runner.py (right): https://codereview.chromium.org/2043853002/diff/20001/appengine/swarming/swarming_bot/bot_code/task_runner.py#newcode108 appengine/swarming/swarming_bot/bot_code/task_runner.py:108: '--cipd-client-package', to_pkg( On 2016/06/06 23:54:28, M-A Ruel wrote: > ...
4 years, 6 months ago (2016-06-09 23:36:28 UTC) #7
M-A Ruel
lgtm https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/handlers_bot.py File appengine/swarming/handlers_bot.py (right): https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/handlers_bot.py#newcode606 appengine/swarming/handlers_bot.py:606: duration=cipd_stats.get('duration')) and client? https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/swarming_bot/bot_code/task_runner.py File appengine/swarming/swarming_bot/bot_code/task_runner.py (right): https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/swarming_bot/bot_code/task_runner.py#newcode116 ...
4 years, 6 months ago (2016-06-10 02:06:42 UTC) #8
nodir
https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/handlers_bot.py File appengine/swarming/handlers_bot.py (right): https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/handlers_bot.py#newcode606 appengine/swarming/handlers_bot.py:606: duration=cipd_stats.get('duration')) On 2016/06/10 02:06:42, M-A Ruel wrote: > and ...
4 years, 6 months ago (2016-06-10 15:46:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043853002/40001
4 years, 6 months ago (2016-06-10 16:10:10 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://github.com/luci/luci-py/commit/006f9a416983c09c8bc188358ee6aae7ebe6e1cb
4 years, 6 months ago (2016-06-10 16:12:45 UTC) #13
M-A Ruel
https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/swarming_bot/bot_code/task_runner.py File appengine/swarming/swarming_bot/bot_code/task_runner.py (right): https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/swarming_bot/bot_code/task_runner.py#newcode122 appengine/swarming/swarming_bot/bot_code/task_runner.py:122: '--cache', os.path.join(bot_dir, 'isolated_cache'), Oh, this is problematic, now all ...
4 years, 6 months ago (2016-06-17 17:38:32 UTC) #14
nodir
4 years, 6 months ago (2016-06-17 18:58:57 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/swar...
File appengine/swarming/swarming_bot/bot_code/task_runner.py (right):

https://codereview.chromium.org/2043853002/diff/40001/appengine/swarming/swar...
appengine/swarming/swarming_bot/bot_code/task_runner.py:122: '--cache',
os.path.join(bot_dir, 'isolated_cache'),
On 2016/06/17 17:38:32, M-A Ruel wrote:
> Oh, this is problematic, now all the bots have a stale 'cache' directory and
> this is getting filled up. It's kind of too late already as this change was
> deployed.

I should not have done that

Powered by Google App Engine
This is Rietveld 408576698