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

Issue 2692233002: [WPT Export] Fix cwd on run_command calls in ChromiumCommit (Closed)

Created:
3 years, 10 months ago by jeffcarp
Modified:
3 years, 10 months ago
Reviewers:
qyearsley
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WPT Export] Fix cwd on run_command calls in ChromiumCommit Trying to diagnose this failure: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.infra.cron%2Fwpt-exporter%2F154%2F%2B%2Frecipes%2Fsteps%2Fcreate_PR_or_merge_in-flight_PR%2F0%2Fstdout This adds the cwd= argument to all shell calls in ChromiumCommit and also enforces that the sha argument to ChromiumCommit is a valid SHA-1 (40 chars long). BUG= Review-Url: https://codereview.chromium.org/2692233002 Cr-Commit-Position: refs/heads/master@{#450453} Committed: https://chromium.googlesource.com/chromium/src/+/82685a6d33c5fc39406f5a522000fc72c732bf96

Patch Set 1 #

Patch Set 2 : Strictly assert that SHA-1 hash was passed to ChromiumCommit #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -51 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_commit.py View 1 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/chromium_commit_unittest.py View 1 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/common_unittest.py View 1 4 chunks +38 lines, -29 lines 2 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/local_wpt_unittest.py View 1 3 chunks +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter_unittest.py View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
jeffcarp
3 years, 10 months ago (2017-02-14 02:19:32 UTC) #4
jeffcarp
https://codereview.chromium.org/2692233002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/w3c/common_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/w3c/common_unittest.py (right): https://codereview.chromium.org/2692233002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/w3c/common_unittest.py#newcode27 third_party/WebKit/Tools/Scripts/webkitpy/w3c/common_unittest.py:27: The only changes in the tests are the 1. ...
3 years, 10 months ago (2017-02-14 02:20:48 UTC) #6
qyearsley
lgtm; note, I think that when we refactor these calls to git to use the ...
3 years, 10 months ago (2017-02-14 05:17:34 UTC) #7
jeffcarp
Going to send to CQ now to try to fix wpt-exporter bot problems, will follow ...
3 years, 10 months ago (2017-02-14 19:27:46 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/2692233002/20001
3 years, 10 months ago (2017-02-14 19:28:26 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 20:42:06 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/82685a6d33c5fc39406f5a522000...

Powered by Google App Engine
This is Rietveld 408576698