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

Issue 2248653002: Revert of Fix pylint warnings in webkitpy/common/. (Closed)

Created:
4 years, 4 months ago by hiroshige
Modified:
4 years, 4 months ago
CC:
blink-reviews, chromium-reviews, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Fix pylint warnings in webkitpy/common/. (patchset #4 id:60001 of https://codereview.chromium.org/2130093003/ ) Reason for revert: Causing Linux ASAN bot failure: crbug.com/637664 BUG=637664 Original issue's description: > Fix pylint warnings in webkitpy/common/. > > Committed: https://crrev.com/741b54d9993d44d46435a759f6763cee9d5c07a5 > Cr-Commit-Position: refs/heads/master@{#411710} TBR=dpranke@chromium.org,tansell@chromium.org,qyearsley@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. Committed: https://crrev.com/df2bbdb19f72ca1cb73c189f9c6c657d6c8931ff Cr-Commit-Position: refs/heads/master@{#411952}

Patch Set 1 #

Patch Set 2 : Manual Revert (Patch Set 1 causes patch failure in read_checksum_from_png_unittest.py) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -412 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py View 1 10 chunks +29 lines, -27 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py View 1 5 chunks +145 lines, -184 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py View 1 chunk +5 lines, -7 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser_unittest.py View 1 4 chunks +6 lines, -10 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py View 1 6 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm.py View 1 3 chunks +4 lines, -8 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/find_files.py View 1 3 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py View 1 2 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/memoized.py View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/message_pool.py View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/file_uploader.py View 1 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/networktransaction_unittest.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/prettypatch.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/read_checksum_from_png_unittest.py View 1 1 chunk +2 lines, -16 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py View 1 4 chunks +4 lines, -8 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive.py View 1 6 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py View 1 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_unittest.py View 1 4 chunks +10 lines, -8 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py View 1 4 chunks +10 lines, -11 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py View 1 9 chunks +29 lines, -29 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_unittest.py View 1 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils_unittest.py View 1 6 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py View 1 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputtee.py View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo_unittest.py View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/stack_utils_unittest.py View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.py View 1 4 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/user_mock.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/user_unittest.py View 1 3 chunks +15 lines, -18 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.py View 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/pylintrc View 1 3 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
hiroshige
Created Revert of Fix pylint warnings in webkitpy/common/.
4 years, 4 months ago (2016-08-15 08:55:34 UTC) #2
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/2248653002/1
4 years, 4 months ago (2016-08-15 08:55:50 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/251140) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-15 08:57:36 UTC) #5
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/2248653002/300001
4 years, 4 months ago (2016-08-15 09:11:41 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:300001)
4 years, 4 months ago (2016-08-15 10:15:14 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/df2bbdb19f72ca1cb73c189f9c6c657d6c8931ff Cr-Commit-Position: refs/heads/master@{#411952}
4 years, 4 months ago (2016-08-15 10:17:19 UTC) #11
Dirk Pranke
lgtm
4 years, 4 months ago (2016-08-15 19:58:58 UTC) #12
mithro
On 2016/08/15 19:58:58, Dirk Pranke wrote: > lgtm Do we know why lint fixes broke ...
4 years, 4 months ago (2016-08-18 03:34:30 UTC) #13
qyearsley
4 years, 4 months ago (2016-08-23 04:12:44 UTC) #14
Message was sent while issue was closed.
On 2016/08/18 at 03:34:30, tansell wrote:
> On 2016/08/15 19:58:58, Dirk Pranke wrote:
> > lgtm
> 
> Do we know why lint fixes broke only this bot?

Good question.

The error was TypeError('run_command() got an unexpected keyword argument
'input'') --
run_command's keyword arguments were changed, and most callers were changed, but
anywhere
the function was called with the old keyword argument it would raise this error.

Looking at the stack trace, this happened inside of _get_crash_log
(https://cs.chromium.org/chromium/src/third_party/WebKit/Tools/Scripts/webkitp...)
and I guess when running layout tests that pass on regular bots, _get_crash_log
is not invoked, but this code path is executed when layout tests are run on ASAN
and MSAN bots.

Anyway, rather than re-landing this, I think any clean-up CLs I do should be
more focused and change one thing at a time, so that if something breaks it's
nicer to revert...

Powered by Google App Engine
This is Rietveld 408576698