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

Issue 240653002: Make Lockfile._remove_lockfile more robust on win32 (Closed)

Created:
6 years, 8 months ago by pgervais
Modified:
6 years, 8 months ago
Reviewers:
Ryan Tseng, M-A Ruel, hinoka
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Make Lockfile._remove_lockfile more robust on win32 Sometimes, removing lockfiles fails on windows, for obscure reasons. Following advice from gclient_utils.rmtree, lock file removal has been improved by using the builtin executable 'del' and retrying 3 times in case it fails. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=264557

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed indentation #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M git_cache.py View 1 2 chunks +17 lines, -2 lines 1 comment Download

Messages

Total messages: 14 (0 generated)
pgervais
This is supposed to fix the flaky issues we're having with the WinGit builder. https://build.chromium.org/p/chromium.git/buildslaves/vm402-m1 ...
6 years, 8 months ago (2014-04-17 00:17:04 UTC) #1
Ryan Tseng
https://codereview.chromium.org/240653002/diff/1/git_cache.py File git_cache.py (right): https://codereview.chromium.org/240653002/diff/1/git_cache.py#newcode77 git_cache.py:77: raise LockError('Failed to remove lock: %s' % lockfile) I ...
6 years, 8 months ago (2014-04-17 08:20:22 UTC) #2
pgervais
On 2014/04/17 08:20:22, Ryan T. wrote: > https://codereview.chromium.org/240653002/diff/1/git_cache.py > File git_cache.py (right): > > https://codereview.chromium.org/240653002/diff/1/git_cache.py#newcode77 ...
6 years, 8 months ago (2014-04-17 16:38:08 UTC) #3
Ryan Tseng
lgtm ship it!
6 years, 8 months ago (2014-04-17 16:56:29 UTC) #4
pgervais
The CQ bit was checked by pgervais@chromium.org
6 years, 8 months ago (2014-04-17 17:02:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgervais@chromium.org/240653002/20001
6 years, 8 months ago (2014-04-17 17:02:56 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 17:05:01 UTC) #7
commit-bot: I haz the power
Presubmit check for 240653002-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 8 months ago (2014-04-17 17:05:02 UTC) #8
pgervais
On 2014/04/17 17:05:02, I haz the power (commit-bot) wrote: > Presubmit check for 240653002-20001 failed ...
6 years, 8 months ago (2014-04-17 17:06:05 UTC) #9
M-A Ruel
lgtm https://codereview.chromium.org/240653002/diff/20001/git_cache.py File git_cache.py (right): https://codereview.chromium.org/240653002/diff/20001/git_cache.py#newcode64 git_cache.py:64: """Delete the lockfile. Complains (implicitly) if it doesn't ...
6 years, 8 months ago (2014-04-17 17:17:19 UTC) #10
pgervais
On 2014/04/17 17:17:19, M-A Ruel wrote: > lgtm > > https://codereview.chromium.org/240653002/diff/20001/git_cache.py > File git_cache.py (right): ...
6 years, 8 months ago (2014-04-17 17:22:01 UTC) #11
pgervais
The CQ bit was checked by pgervais@chromium.org
6 years, 8 months ago (2014-04-17 17:22:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgervais@chromium.org/240653002/20001
6 years, 8 months ago (2014-04-17 17:22:22 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-04-17 17:24:16 UTC) #14
Message was sent while issue was closed.
Change committed as 264557

Powered by Google App Engine
This is Rietveld 408576698