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

Issue 2870793002: swarming: fix support for raw command + isolated file (Closed)

Created:
3 years, 7 months ago by M-A Ruel
Modified:
3 years, 7 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org, Vadim Sh.
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

swarming: fix support for raw command + isolated file - Remove support for unnamed isolated_hash argument on the command line. It must now use -s or --isolated. - Create a smoke test for --raw-cmd + --isolated - Add check at task creation that command and extra_args cannot be both specified. - Remove assert from task_runner which was unnecessary and broke this use case. - Added relevant unit test Warning: this is a breaking change due to the enforcement to use --isolated to specify the isolated hash. R=iannucci@chromium.org BUG= Review-Url: https://codereview.chromium.org/2870793002 Committed: https://github.com/luci/luci-py/commit/f1b353533186324cb28a51007ea2550be23f9e12

Patch Set 1 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -101 lines) Patch
M appengine/swarming/local_smoke_test.py View 10 chunks +60 lines, -8 lines 0 comments Download
M appengine/swarming/server/task_request.py View 2 chunks +5 lines, -0 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/task_runner.py View 1 chunk +0 lines, -2 lines 0 comments Download
M client/swarming.py View 8 chunks +52 lines, -75 lines 2 comments Download
M client/tests/swarming_test.py View 12 chunks +93 lines, -16 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
M-A Ruel
3 years, 7 months ago (2017-05-09 00:55:52 UTC) #1
M-A Ruel
Now good. Both with smoke test and unit test.
3 years, 7 months ago (2017-05-09 21:01:16 UTC) #6
iannucci
woohoo! \o/ lgtm https://codereview.chromium.org/2870793002/diff/40001/client/swarming.py File client/swarming.py (right): https://codereview.chromium.org/2870793002/diff/40001/client/swarming.py#newcode8 client/swarming.py:8: __version__ = '0.9.1' maybe 1.0.0 since ...
3 years, 7 months ago (2017-05-09 21:40:23 UTC) #7
M-A Ruel
https://codereview.chromium.org/2870793002/diff/40001/client/swarming.py File client/swarming.py (right): https://codereview.chromium.org/2870793002/diff/40001/client/swarming.py#newcode8 client/swarming.py:8: __version__ = '0.9.1' On 2017/05/09 21:40:23, iannucci wrote: > ...
3 years, 7 months ago (2017-05-09 22:49:28 UTC) #8
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/2870793002/40001
3 years, 7 months ago (2017-05-09 22:50:00 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Luci-py Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/360839538583ae10)
3 years, 7 months ago (2017-05-09 23:51:27 UTC) #12
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/2870793002/40001
3 years, 7 months ago (2017-05-10 17:08:46 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 17:43:28 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:40001) as
https://github.com/luci/luci-py/commit/f1b353533186324cb28a51007ea2550be23f9e12

Powered by Google App Engine
This is Rietveld 408576698