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

Issue 17320009: Remove the 'http_lock' and 'file_lock' code from webkitpy. (Closed)

Created:
7 years, 6 months ago by Dirk Pranke
Modified:
7 years, 6 months ago
CC:
blink-reviews, eae+blinkwatch
Visibility:
Public.

Description

Remove the 'http_lock' and 'file_lock' code from webkitpy. We used to allow running run-webkit-tests concurrently and they would coordinate amongst themselves when running the http tests using file locks. This was used by the Qt port on their buildbots, but it's not clear that this was needed anywhere else. This patch removes all of that code, and deletes the generic file lock module we had as it was now only being used when parsing ASAN logs, which is only needed on mac and linux (where we can just use flock). This patch also moves starting and stopping the servers from the layout_test_runner to the manager, where we can wait to stop the servers until after retrying any tests. This keeps us from having to start the servers twice if we need to retry an HTTP test. This will speed up HTTP retries a tiny bit, but slow down the overall run-webkit-tests execution a bit in the normal case (no HTTP retries). This tradeoff seems worth it in order to simplify the logic overall. R=abarth@chromium.org, ojan@chromium.org BUG=252035 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152975

Patch Set 1 #

Patch Set 2 : merge to HEAD #

Patch Set 3 : fix merge to HEAD #

Patch Set 4 : fix merge again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -591 lines) Patch
D Tools/Scripts/webkitpy/common/system/file_lock.py View 1 chunk +0 lines, -84 lines 0 comments Download
D Tools/Scripts/webkitpy/common/system/file_lock_integrationtest.py View 1 chunk +0 lines, -60 lines 0 comments Download
D Tools/Scripts/webkitpy/common/system/file_lock_mock.py View 1 chunk +0 lines, -35 lines 0 comments Download
M Tools/Scripts/webkitpy/common/system/systemhost.py View 2 chunks +1 line, -4 lines 0 comments Download
M Tools/Scripts/webkitpy/common/system/systemhost_mock.py View 2 chunks +0 lines, -4 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py View 1 5 chunks +5 lines, -57 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py View 2 chunks +1 line, -62 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/controllers/manager.py View 1 4 chunks +28 lines, -7 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py View 1 chunk +50 lines, -0 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/port/base.py View 1 2 3 3 chunks +0 lines, -9 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/port/chromium.py View 1 2 3 2 chunks +6 lines, -12 lines 0 comments Download
D Tools/Scripts/webkitpy/layout_tests/port/http_lock.py View 1 chunk +0 lines, -137 lines 0 comments Download
D Tools/Scripts/webkitpy/layout_tests/port/http_lock_unittest.py View 1 chunk +0 lines, -120 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Dirk Pranke
7 years, 6 months ago (2013-06-20 00:22:38 UTC) #1
ojan
lgtm
7 years, 6 months ago (2013-06-20 01:16:49 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/17320009/4001
7 years, 6 months ago (2013-06-24 22:38:47 UTC) #3
commit-bot: I haz the power
Failed to apply patch for Tools/Scripts/webkitpy/layout_tests/port/base.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-06-24 22:38:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/17320009/11001
7 years, 6 months ago (2013-06-24 22:42:59 UTC) #5
commit-bot: I haz the power
7 years, 6 months ago (2013-06-24 23:51:04 UTC) #6
Message was sent while issue was closed.
Change committed as 152975

Powered by Google App Engine
This is Rietveld 408576698