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

Issue 293803003: [Android] Fix adb realpath command failure. (Closed)

Created:
6 years, 7 months ago by Kibeom Kim (inactive)
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Fix adb realpath command failure. In android_commands.py's GetFilesChanged function, realpath command fails when the path does not exist. Create the path before we call GetFilesChanged. BUG=374859 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271817

Patch Set 1 #

Total comments: 3

Patch Set 2 : moved to PushIfNeeded #

Total comments: 5

Patch Set 3 : host_path dir check #

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

Messages

Total messages: 17 (0 generated)
Kibeom Kim (inactive)
I'm not 100% sure this is a correct way to fix it.
6 years, 7 months ago (2014-05-20 00:02:21 UTC) #1
jbudorick
https://codereview.chromium.org/293803003/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/293803003/diff/1/build/android/pylib/android_commands.py#newcode1025 build/android/pylib/android_commands.py:1025: self.RunShellCommand('mkdir -p "%s"' % device_path) I don't think that ...
6 years, 7 months ago (2014-05-20 01:33:13 UTC) #2
navabi
https://codereview.chromium.org/293803003/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/293803003/diff/1/build/android/pylib/android_commands.py#newcode1025 build/android/pylib/android_commands.py:1025: self.RunShellCommand('mkdir -p "%s"' % device_path) On 2014/05/20 01:33:13, jbudorick ...
6 years, 7 months ago (2014-05-20 01:49:15 UTC) #3
Kibeom Kim (inactive)
Moved to PushIfNeeded. Tested by "rm -rf /mnt/shell/emulated/0/chrome" and confirmed that this script creates "/mnt/shell/emulated/0/chrome/test/data/clank" ...
6 years, 7 months ago (2014-05-20 01:58:29 UTC) #4
navabi
On 2014/05/20 01:58:29, Kibeom Kim wrote: > Moved to PushIfNeeded. Tested by > > "rm ...
6 years, 7 months ago (2014-05-20 17:09:26 UTC) #5
Kibeom Kim (inactive)
+pliard (OWNER)
6 years, 7 months ago (2014-05-20 17:46:08 UTC) #6
craigdh
On 2014/05/20 17:46:08, Kibeom Kim wrote: > +pliard (OWNER) Please wait for approval from jbudorick, ...
6 years, 7 months ago (2014-05-20 17:56:46 UTC) #7
jbudorick
@navabi: Yes, that's definitely a bug. Fortunately, it doesn't look like it comes up often ...
6 years, 7 months ago (2014-05-20 18:03:39 UTC) #8
jbudorick
https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py#newcode1089 build/android/pylib/android_commands.py:1089: self.RunShellCommand('mkdir -p "%s"' % device_path) On 2014/05/20 18:03:39, jbudorick ...
6 years, 7 months ago (2014-05-20 18:53:53 UTC) #9
Kibeom Kim (inactive)
https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py#newcode1089 build/android/pylib/android_commands.py:1089: self.RunShellCommand('mkdir -p "%s"' % device_path) On 2014/05/20 18:53:53, jbudorick ...
6 years, 7 months ago (2014-05-20 19:06:15 UTC) #10
jbudorick
https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py#newcode1089 build/android/pylib/android_commands.py:1089: self.RunShellCommand('mkdir -p "%s"' % device_path) On 2014/05/20 19:06:15, Kibeom ...
6 years, 7 months ago (2014-05-20 19:09:39 UTC) #11
Kibeom Kim (inactive)
https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/293803003/diff/20001/build/android/pylib/android_commands.py#newcode1089 build/android/pylib/android_commands.py:1089: self.RunShellCommand('mkdir -p "%s"' % device_path) On 2014/05/20 19:09:40, jbudorick ...
6 years, 7 months ago (2014-05-20 19:13:26 UTC) #12
jbudorick
lgtm
6 years, 7 months ago (2014-05-20 19:21:47 UTC) #13
craigdh
lgtm.
6 years, 7 months ago (2014-05-20 19:24:29 UTC) #14
Kibeom Kim (inactive)
The CQ bit was checked by kkimlabs@chromium.org
6 years, 7 months ago (2014-05-20 19:25:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/293803003/40001
6 years, 7 months ago (2014-05-20 19:26:54 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 02:19:21 UTC) #17
Message was sent while issue was closed.
Change committed as 271817

Powered by Google App Engine
This is Rietveld 408576698