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

Issue 270833004: Android: Make sure temporary scripts are deleted from the device (Closed)

Created:
6 years, 7 months ago by Sami
Modified:
6 years, 7 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Android: Make sure temporary scripts are deleted from the device Once we're done using a temporary file, we should delete it. Otherwise the files pile up and the linear search to find an unused one takes longer and longer. This patch also cleans up the previously leaked temporary files from the bots. BUG=371148 R=bulach@chromium.org, jbudorick@chromium.org, yfriedman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269094

Patch Set 1 #

Total comments: 5

Patch Set 2 : Call EnableAdbRoot. #

Patch Set 3 : Rebased on top of John's patch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -26 lines) Patch
M build/android/pylib/android_commands.py View 1 2 2 chunks +38 lines, -26 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Sami
6 years, 7 months ago (2014-05-08 15:12:27 UTC) #1
Sami
https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py#newcode1904 build/android/pylib/android_commands.py:1904: self.EnableAdbRoot This line makes me say hmm...
6 years, 7 months ago (2014-05-08 15:14:36 UTC) #2
bulach
thanks sami! John has a fairly similar fix on its way on the CQ: https://codereview.chromium.org/272713002/ ...
6 years, 7 months ago (2014-05-08 15:22:23 UTC) #3
bulach
forgot to say, lgtm % nit, but please wait for john's review. thanks!! https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py File ...
6 years, 7 months ago (2014-05-08 15:25:03 UTC) #4
jbudorick
lgtm. I was planning to do something like this after my other patch lands. https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py ...
6 years, 7 months ago (2014-05-08 15:37:24 UTC) #5
Sami
https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py#newcode1163 build/android/pylib/android_commands.py:1163: # TODO(skyostil): Remove this once it has been through ...
6 years, 7 months ago (2014-05-08 15:57:11 UTC) #6
Yaron
lgtm https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/270833004/diff/1/build/android/pylib/android_commands.py#newcode1163 build/android/pylib/android_commands.py:1163: # TODO(skyostil): Remove this once it has been ...
6 years, 7 months ago (2014-05-08 17:08:16 UTC) #7
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 7 months ago (2014-05-08 17:32:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/270833004/40001
6 years, 7 months ago (2014-05-08 17:34:34 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 20:50:56 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 20:58:58 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/2613) android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/140581) android_dbg ...
6 years, 7 months ago (2014-05-08 20:58:58 UTC) #12
Yaron
6 years, 7 months ago (2014-05-08 22:24:27 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 manually as r269094 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698