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

Issue 334503002: Refactor wipe option to wipe on default and have option to skip wipe. (Closed)

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

Description

Refactor wipe option to wipe on default and have option to skip wipe. Also remove the option -w to only wipe without provisioning. This was temporary functionality to recover from INSUFFICIENT_STORAGE on device error. With the default wiping, this should be unnecessary. For bots that skip wiping, we can still manually fix by manually running without --skip-wipe. BUG=383106 TBR=craigdh@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276866

Patch Set 1 #

Total comments: 11

Patch Set 2 : Re-purpose script to remove -w option and address reviews. #

Total comments: 3

Patch Set 3 : Moved wiping into provision function. #

Total comments: 1

Patch Set 4 : Tried to rebase. Didn't pull change I expected. #

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

Messages

Total messages: 19 (0 generated)
navabi
6 years, 6 months ago (2014-06-12 00:11:26 UTC) #1
jbudorick
lgtm you might see a conflict with this: https://codereview.chromium.org/292313015/ ...if it ever gets through CQ. ...
6 years, 6 months ago (2014-06-12 00:17:17 UTC) #2
navabi
I will do the merge if there is a conflict. Looks like a straightforward merge. ...
6 years, 6 months ago (2014-06-12 00:34:50 UTC) #3
dnj
It looks like the usage of this script is fundamentally changing, as you've removed the ...
6 years, 6 months ago (2014-06-12 00:35:46 UTC) #4
jbudorick
https://codereview.chromium.org/334503002/diff/1/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/334503002/diff/1/build/android/provision_devices.py#newcode182 build/android/provision_devices.py:182: device_utils.DeviceUtils.parallel(devices).old_interface.Reboot(True) On 2014/06/12 00:35:46, dnj wrote: > You should ...
6 years, 6 months ago (2014-06-12 00:51:30 UTC) #5
navabi
Thanks jbudorick and dnj. PTAL. https://codereview.chromium.org/334503002/diff/1/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/334503002/diff/1/build/android/provision_devices.py#newcode161 build/android/provision_devices.py:161: help='Don\'t wipe device data ...
6 years, 6 months ago (2014-06-12 01:08:59 UTC) #6
dnj
https://codereview.chromium.org/334503002/diff/20001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/334503002/diff/20001/build/android/provision_devices.py#newcode190 build/android/provision_devices.py:190: ProvisionDevices(options) Sorry, I should have noticed this last time. ...
6 years, 6 months ago (2014-06-12 01:14:02 UTC) #7
jbudorick
https://codereview.chromium.org/334503002/diff/20001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/334503002/diff/20001/build/android/provision_devices.py#newcode190 build/android/provision_devices.py:190: ProvisionDevices(options) On 2014/06/12 01:14:02, dnj wrote: > Sorry, I ...
6 years, 6 months ago (2014-06-12 01:20:10 UTC) #8
navabi
https://codereview.chromium.org/334503002/diff/20001/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/334503002/diff/20001/build/android/provision_devices.py#newcode190 build/android/provision_devices.py:190: ProvisionDevices(options) On 2014/06/12 01:20:10, jbudorick wrote: > On 2014/06/12 ...
6 years, 6 months ago (2014-06-12 18:17:31 UTC) #9
dnj
lgtm
6 years, 6 months ago (2014-06-12 18:28:45 UTC) #10
jbudorick
lgtm FYI my CL landed, so you'll probably see a merge conflict. https://codereview.chromium.org/334503002/diff/40001/build/android/provision_devices.py File build/android/provision_devices.py ...
6 years, 6 months ago (2014-06-12 18:34:52 UTC) #11
navabi
The CQ bit was checked by navabi@google.com
6 years, 6 months ago (2014-06-12 19:02:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/334503002/60001
6 years, 6 months ago (2014-06-12 19:03:49 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 19:03:51 UTC) #14
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 6 months ago (2014-06-12 19:03:53 UTC) #15
jbudorick
On 2014/06/12 19:03:53, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
6 years, 6 months ago (2014-06-12 19:08:02 UTC) #16
navabi
The CQ bit was checked by navabi@google.com
6 years, 6 months ago (2014-06-12 19:12:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/334503002/60001
6 years, 6 months ago (2014-06-12 19:14:19 UTC) #18
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 00:37:43 UTC) #19
Message was sent while issue was closed.
Change committed as 276866

Powered by Google App Engine
This is Rietveld 408576698