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

Issue 1492613002: annotated_run: Cleanup/refactor. (Closed)

Created:
5 years ago by dnj
Modified:
5 years ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org, stip+watch_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

annotated_run: Cleanup/refactor. In the process, refactor a bit of the internals to: - Use a singleton execution tempdir instead of several tempdirs. - Use a platform-aware Config. - Use "logging" instead of "print". BUG=chromium:550673 TEST=`./scripts/slave/unittests/annotated_run_test.py` Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=297811

Patch Set 1 #

Total comments: 8

Patch Set 2 : Code review comments/tweaks. #

Total comments: 1

Patch Set 3 : Bug fixes! #

Patch Set 4 : Integrate https://chromiumcodereview.appspot.com/1441013002/ #

Patch Set 5 : Use standard paths, fix BuildInternal error. #

Total comments: 1

Patch Set 6 : Fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -190 lines) Patch
M scripts/slave/annotated_run.py View 1 2 3 4 5 11 chunks +261 lines, -190 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
dnj
PTAL
5 years ago (2015-12-01 22:40:17 UTC) #2
iannucci
lgtm https://codereview.chromium.org/1492613002/diff/1/scripts/slave/annotated_run.py File scripts/slave/annotated_run.py (right): https://codereview.chromium.org/1492613002/diff/1/scripts/slave/annotated_run.py#newcode103 scripts/slave/annotated_run.py:103: LOGGER.info('(Dry Run) Not executing command.') '(Dry Run) But ...
5 years ago (2015-12-02 02:13:34 UTC) #3
dnj (Google)
https://codereview.chromium.org/1492613002/diff/1/scripts/slave/annotated_run.py File scripts/slave/annotated_run.py (right): https://codereview.chromium.org/1492613002/diff/1/scripts/slave/annotated_run.py#newcode103 scripts/slave/annotated_run.py:103: LOGGER.info('(Dry Run) Not executing command.') On 2015/12/02 02:13:34, iannucci ...
5 years ago (2015-12-02 18:52:43 UTC) #5
pgervais
lgtm with one comment. https://chromiumcodereview.appspot.com/1492613002/diff/20001/scripts/slave/annotated_run.py File scripts/slave/annotated_run.py (right): https://chromiumcodereview.appspot.com/1492613002/diff/20001/scripts/slave/annotated_run.py#newcode58 scripts/slave/annotated_run.py:58: ('Windows',): {}, While you're at ...
5 years ago (2015-12-02 19:02:06 UTC) #6
dnj
I integrated that CL. Can you PTAL and let me know if it looks reasonable?
5 years ago (2015-12-02 19:42:27 UTC) #8
pgervais
On 2015/12/02 19:42:27, dnj wrote: > I integrated that CL. Can you PTAL and let ...
5 years ago (2015-12-02 22:09:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492613002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492613002/120001
5 years ago (2015-12-02 23:50:59 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Build Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Build%20Presubmit/builds/208)
5 years ago (2015-12-03 00:02:09 UTC) #16
iannucci
lgtm https://chromiumcodereview.appspot.com/1492613002/diff/140001/scripts/slave/annotated_run.py File scripts/slave/annotated_run.py (right): https://chromiumcodereview.appspot.com/1492613002/diff/140001/scripts/slave/annotated_run.py#newcode457 scripts/slave/annotated_run.py:457: recipe_runner = os.path.join(common.env.Build, move up to 451
5 years ago (2015-12-03 00:26:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492613002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492613002/160001
5 years ago (2015-12-03 00:30:30 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:160001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=297811
5 years ago (2015-12-03 00:33:13 UTC) #22
Vadim Sh.
I suspect this commit had unforeseen consequences. See https://codereview.chromium.org/1500123003/.
5 years ago (2015-12-05 03:24:05 UTC) #23
dnj (Google)
5 years ago (2015-12-05 06:25:38 UTC) #24
Message was sent while issue was closed.
On 2015/12/05 03:24:05, Vadim Sh. wrote:
> I suspect this commit had unforeseen consequences. See
> https://codereview.chromium.org/1500123003/.

It did, but I fixed all of this two days ago. Worst-case a builder had to cycle
twice to pick up the change, but things should be okay now. Which builder was
still exhibiting errors?

Powered by Google App Engine
This is Rietveld 408576698