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

Issue 255783008: Add option to wipe device. (Closed)

Created:
6 years, 8 months ago by navabi
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

Always wipe device data, but dont reboot. We keep seeing the INSTALL_FAILED_INSUFFICIENT_STORAGE error on the devices. The APK we install to check for this failure succeeds even when this error exists on the device (presumably because the APK we install is too small). Thus, this CL will always wipe the device. It removes the reboot, because that would make the step take too long. BUG=335549 TBR=yfriedman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269408

Patch Set 1 #

Patch Set 2 : Always wipe devices. #

Total comments: 2

Patch Set 3 : Remove reboot arg from WipeDevices. #

Patch Set 4 : Rebase with tonyg's root device change. #

Patch Set 5 : Add parallel device reboot after wipe. #

Total comments: 1

Patch Set 6 : Remove printing debug statement. #

Patch Set 7 : Remove automatic wipe, and add option for manual wipe. #

Total comments: 5

Patch Set 8 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -46 lines) Patch
M build/android/buildbot/bb_device_steps.py View 1 2 3 4 5 6 4 chunks +0 lines, -39 lines 0 comments Download
M build/android/provision_devices.py View 1 2 3 4 5 6 7 4 chunks +18 lines, -7 lines 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
navabi
6 years, 8 months ago (2014-04-26 01:03:39 UTC) #1
tonyg
lgtm
6 years, 8 months ago (2014-04-26 01:07:38 UTC) #2
Dan Jacques
lgtm w/ nits https://codereview.chromium.org/255783008/diff/10001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/255783008/diff/10001/build/android/provision_devices.py#newcode91 build/android/provision_devices.py:91: def WipeDeviceData(device, reboot=True): Is this ever ...
6 years, 8 months ago (2014-04-26 01:11:26 UTC) #3
navabi
https://codereview.chromium.org/255783008/diff/10001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/255783008/diff/10001/build/android/provision_devices.py#newcode91 build/android/provision_devices.py:91: def WipeDeviceData(device, reboot=True): On 2014/04/26 01:11:26, Dan Jacques wrote: ...
6 years, 8 months ago (2014-04-26 01:15:35 UTC) #4
dnj (Google)
On 2014/04/26 01:15:35, navabi wrote: > https://codereview.chromium.org/255783008/diff/10001/build/android/provision_devices.py > File build/android/provision_devices.py (right): > > https://codereview.chromium.org/255783008/diff/10001/build/android/provision_devices.py#newcode91 > ...
6 years, 8 months ago (2014-04-26 01:17:46 UTC) #5
navabi
The CQ bit was checked by navabi@google.com
6 years, 8 months ago (2014-04-26 01:18:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/255783008/30001
6 years, 8 months ago (2014-04-26 02:05:06 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 02:36:39 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg tryserver.chromium on linux_chromium_gn_rel
6 years, 8 months ago (2014-04-26 02:36:40 UTC) #9
navabi
The CQ bit was checked by navabi@google.com
6 years, 8 months ago (2014-04-27 00:18:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/255783008/30001
6 years, 8 months ago (2014-04-27 00:19:14 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-27 00:19:35 UTC) #12
commit-bot: I haz the power
Failed to apply patch for build/android/provision_devices.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-27 00:19:35 UTC) #13
navabi
The CQ bit was checked by navabi@google.com
6 years, 7 months ago (2014-04-28 17:17:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/255783008/50001
6 years, 7 months ago (2014-04-28 17:18:21 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 17:21:23 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 7 months ago (2014-04-28 17:21:24 UTC) #17
navabi
On 2014/04/28 17:21:24, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 7 months ago (2014-04-29 00:45:14 UTC) #18
navabi
https://codereview.chromium.org/255783008/diff/70001/build/android/pylib/content_settings.py File build/android/pylib/content_settings.py (right): https://codereview.chromium.org/255783008/diff/70001/build/android/pylib/content_settings.py#newcode54 build/android/pylib/content_settings.py:54: print 'asserting %s, %s' % (key, value) remove this ...
6 years, 7 months ago (2014-04-29 07:53:28 UTC) #19
navabi
Almost there. Except when we wipe device data the subsequent content setting fails when testing ...
6 years, 7 months ago (2014-04-29 07:58:45 UTC) #20
navabi
PTAL I've changed this slightly to be a -w option to provision_device.py that will wipe ...
6 years, 7 months ago (2014-05-08 09:34:20 UTC) #21
Paweł Hajdan Jr.
Looks good otherwise, and I defer to people more familiar with the code in question. ...
6 years, 7 months ago (2014-05-08 11:21:30 UTC) #22
dnj
lgtm w/ nits https://codereview.chromium.org/255783008/diff/110001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/255783008/diff/110001/build/android/provision_devices.py#newcode114 build/android/provision_devices.py:114: device.old_interface.RunShellCommandWithSU('touch %s' % On 2014/05/08 11:21:31, ...
6 years, 7 months ago (2014-05-08 15:18:16 UTC) #23
navabi
https://codereview.chromium.org/255783008/diff/110001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/255783008/diff/110001/build/android/provision_devices.py#newcode114 build/android/provision_devices.py:114: device.old_interface.RunShellCommandWithSU('touch %s' % On 2014/05/08 15:18:16, dnj wrote: > ...
6 years, 7 months ago (2014-05-08 19:10:52 UTC) #24
navabi
The CQ bit was checked by navabi@google.com
6 years, 7 months ago (2014-05-08 19:13:15 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/255783008/130001
6 years, 7 months ago (2014-05-08 19:14:31 UTC) #26
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 23:25:18 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 23:33:28 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66642)
6 years, 7 months ago (2014-05-08 23:33:28 UTC) #29
navabi
The CQ bit was checked by navabi@google.com
6 years, 7 months ago (2014-05-09 21:19:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/255783008/130001
6 years, 7 months ago (2014-05-09 21:22:25 UTC) #31
commit-bot: I haz the power
Change committed as 269408
6 years, 7 months ago (2014-05-09 21:27:18 UTC) #32
navabi
6 years, 7 months ago (2014-05-09 21:38:01 UTC) #33
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698