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

Issue 2442693003: Upload retry summary to desired location instead of uploading then moving. (Closed)

Created:
4 years, 2 months ago by qyearsley
Modified:
4 years, 1 month ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Upload retry summary to desired location instead of uploading then moving. In the first version of archive_layout_test_retry_summary.py, the temp file is uploaded to GS and then moved in GS, but this doesn't work how I expected; the temp file is left around (e.g. gs://chromium-layout-test-archives/linux_precise_blink_rel/4185) Instead of uploading then moving, this CL changes slave_utils.GSUtilCopyfile to allow specifying a destination filename. BUG=642980 Committed: https://chromium.googlesource.com/chromium/tools/build/+/a385da971c2908ba4501b5af3a1e54274f4b25a8

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change slave_utils.GSUtilCopyFile to take an optional dest filename. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -25 lines) Patch
M scripts/slave/chromium/archive_layout_test_retry_summary.py View 1 2 chunks +9 lines, -9 lines 0 comments Download
M scripts/slave/slave_utils.py View 1 5 chunks +11 lines, -4 lines 0 comments Download
M scripts/slave/unittests/slave_utils_test.py View 1 1 chunk +37 lines, -12 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
qyearsley
This CL isn't urgent. Dirk, does this seem OK overall? Pawel, does this seem like ...
4 years, 2 months ago (2016-10-21 17:21:57 UTC) #2
Paweł Hajdan Jr.
https://codereview.chromium.org/2442693003/diff/1/scripts/slave/chromium/archive_layout_test_retry_summary.py File scripts/slave/chromium/archive_layout_test_retry_summary.py (right): https://codereview.chromium.org/2442693003/diff/1/scripts/slave/chromium/archive_layout_test_retry_summary.py#newcode34 scripts/slave/chromium/archive_layout_test_retry_summary.py:34: temp_path = os.path.join(temp_dir, 'retry_summary.json') I'm wondering whether this works. ...
4 years, 1 month ago (2016-10-24 12:07:18 UTC) #3
qyearsley
https://codereview.chromium.org/2442693003/diff/1/scripts/slave/chromium/archive_layout_test_retry_summary.py File scripts/slave/chromium/archive_layout_test_retry_summary.py (right): https://codereview.chromium.org/2442693003/diff/1/scripts/slave/chromium/archive_layout_test_retry_summary.py#newcode34 scripts/slave/chromium/archive_layout_test_retry_summary.py:34: temp_path = os.path.join(temp_dir, 'retry_summary.json') On 2016/10/24 at 12:07:18, Paweł ...
4 years, 1 month ago (2016-10-24 16:48:48 UTC) #4
qyearsley
On 2016/10/24 at 16:48:48, qyearsley wrote: > https://codereview.chromium.org/2442693003/diff/1/scripts/slave/chromium/archive_layout_test_retry_summary.py > File scripts/slave/chromium/archive_layout_test_retry_summary.py (right): > > https://codereview.chromium.org/2442693003/diff/1/scripts/slave/chromium/archive_layout_test_retry_summary.py#newcode34 ...
4 years, 1 month ago (2016-10-24 17:27:14 UTC) #7
qyearsley
Pawel, do you think this looks OK now?
4 years, 1 month ago (2016-10-25 20:15:26 UTC) #15
Paweł Hajdan Jr.
LGTM
4 years, 1 month ago (2016-10-26 06:30:03 UTC) #16
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/2442693003/20001
4 years, 1 month ago (2016-10-26 15:38:22 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/tools/build/+/a385da971c2908ba4501b5af3a1e54274f4b25a8
4 years, 1 month ago (2016-10-26 15:48:33 UTC) #20
Dirk Pranke
4 years, 1 month ago (2016-10-26 18:59:14 UTC) #21
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698