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

Issue 2973113003: [run_isolated] Tolerate cache uninstall errors. (Closed)

Created:
3 years, 5 months ago by dnj (Google)
Modified:
3 years, 5 months ago
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

[run_isolated] Tolerate cache uninstall errors. If a named cache cannot be uninstalled, the Swarming bot will fail with an unfriendly code path and the task will terminate as BOT_DIED. This can happen if a zombie process lingers from a task and retains a handle to the named cache. Swarming already has code paths to handle zombie processes and task space purge errors. This patch makes it so that named cache deletion failures fall through to standard cleanup code instead of raising an exception. BUG=chromium:740109 TEST=None R=maruel@chromium.org, vadimsh@chromium.org Review-Url: https://codereview.chromium.org/2973113003 Committed: https://github.com/luci/luci-py/commit/bd3cbc5ca8f6fd82345bb9073364c56bf2b73130

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M client/run_isolated.py View 1 chunk +11 lines, -1 line 2 comments Download

Messages

Total messages: 14 (8 generated)
dnj (Google)
3 years, 5 months ago (2017-07-07 15:42:00 UTC) #1
dnj
+iannucci@
3 years, 5 months ago (2017-07-07 16:00:07 UTC) #3
Vadim Sh.
lgtm with question https://codereview.chromium.org/2973113003/diff/1/client/run_isolated.py File client/run_isolated.py (right): https://codereview.chromium.org/2973113003/diff/1/client/run_isolated.py#newcode1065 client/run_isolated.py:1065: named_cache_manager.uninstall(path, name) does this thing leave ...
3 years, 5 months ago (2017-07-07 18:01:47 UTC) #8
dnj
lgtm https://codereview.chromium.org/2973113003/diff/1/client/run_isolated.py File client/run_isolated.py (right): https://codereview.chromium.org/2973113003/diff/1/client/run_isolated.py#newcode1065 client/run_isolated.py:1065: named_cache_manager.uninstall(path, name) On 2017/07/07 18:01:46, Vadim Sh. wrote: ...
3 years, 5 months ago (2017-07-07 18:14:12 UTC) #10
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/2973113003/1
3 years, 5 months ago (2017-07-07 18:14:22 UTC) #11
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 18:16:48 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://github.com/luci/luci-py/commit/bd3cbc5ca8f6fd82345bb9073364c56bf2b73130

Powered by Google App Engine
This is Rietveld 408576698