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

Issue 1303363005: When updating md5sum_bin, wipe the directory first (Closed)

Created:
5 years, 3 months ago by agrieve
Modified:
5 years, 3 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

When updating md5sum_bin, wipe the directory first Fixes the case where the command would fail if the files on device were owned by root, but adbd is currently running non-root. BUG= Committed: https://crrev.com/90089446b07a468f851a17ed8e2e62355eee9c21 Cr-Commit-Position: refs/heads/master@{#346661}

Patch Set 1 #

Total comments: 4

Patch Set 2 : check_return=Tue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M build/android/pylib/utils/md5sum.py View 1 1 chunk +5 lines, -0 lines 0 comments Download
M build/android/pylib/utils/md5sum_test.py View 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (5 generated)
agrieve
This was the case on one of my devices. Confirmed that a manual run of ...
5 years, 3 months ago (2015-09-01 03:23:05 UTC) #2
jbudorick
lgtm w/ nit https://codereview.chromium.org/1303363005/diff/1/build/android/pylib/utils/md5sum.py File build/android/pylib/utils/md5sum.py (right): https://codereview.chromium.org/1303363005/diff/1/build/android/pylib/utils/md5sum.py#newcode101 build/android/pylib/utils/md5sum.py:101: device.RunShellCommand(['rm', '-rf', MD5SUM_DEVICE_LIB_PATH], Hm, we have ...
5 years, 3 months ago (2015-09-01 03:36:25 UTC) #3
agrieve
https://codereview.chromium.org/1303363005/diff/1/build/android/pylib/utils/md5sum.py File build/android/pylib/utils/md5sum.py (right): https://codereview.chromium.org/1303363005/diff/1/build/android/pylib/utils/md5sum.py#newcode101 build/android/pylib/utils/md5sum.py:101: device.RunShellCommand(['rm', '-rf', MD5SUM_DEVICE_LIB_PATH], On 2015/09/01 03:36:25, jbudorick wrote: > ...
5 years, 3 months ago (2015-09-01 13:58:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303363005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303363005/20001
5 years, 3 months ago (2015-09-01 13:58:35 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/47452)
5 years, 3 months ago (2015-09-01 14:31:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303363005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303363005/20001
5 years, 3 months ago (2015-09-01 14:53:58 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-01 15:36:46 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 15:37:24 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/90089446b07a468f851a17ed8e2e62355eee9c21
Cr-Commit-Position: refs/heads/master@{#346661}

Powered by Google App Engine
This is Rietveld 408576698