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

Issue 14283017: Stop build on failed device status check, apk install and add CheckInstall step. (Closed)

Created:
7 years, 7 months ago by navabi
Modified:
7 years, 7 months ago
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, ilevy+watch_chromium.org, frankf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Stop build on failed device status check, apk install and add CheckInstall step. BUG=230970, 236035 R=ilevy@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200020

Patch Set 1 #

Total comments: 13

Patch Set 2 : Raise exception instead of exit and fail on all non-88 error codes. #

Patch Set 3 : Added TODO to change apk used to install. #

Patch Set 4 : Added HelloWorld apk to install instead of SdkController. #

Total comments: 1

Patch Set 5 : Don't use constant for check install for loop. #

Patch Set 6 : Only try to install one time. #

Patch Set 7 : DO NOT COMMIT: Print statement to test on try bot. #

Patch Set 8 : Remove debug print (same as patch set 6). #

Patch Set 9 : Rebased. #

Patch Set 10 : Rebased. #

Patch Set 11 : Rebased off origin. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
A build/android/CheckInstallApk-debug.apk View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
M build/android/buildbot/bb_device_steps.py View 1 2 3 4 5 6 7 8 6 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
navabi
https://codereview.chromium.org/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode194 build/android/buildbot/bb_device_steps.py:194: RunCmd(['build/android/adb_install_apk.py'] + args, halt_on_failure=True) This will make the build ...
7 years, 7 months ago (2013-04-27 00:25:46 UTC) #1
Isaac (away)
https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode91 build/android/buildbot/bb_device_steps.py:91: if code == 1 and halt_on_failure: How about if ...
7 years, 7 months ago (2013-04-30 20:01:16 UTC) #2
Isaac (away)
https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode92 build/android/buildbot/bb_device_steps.py:92: exit(1) On 2013/04/30 20:01:16, Isaac wrote: > How about ...
7 years, 7 months ago (2013-04-30 20:03:38 UTC) #3
navabi
https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode91 build/android/buildbot/bb_device_steps.py:91: if code == 1 and halt_on_failure: On 2013/04/30 20:01:16, ...
7 years, 7 months ago (2013-04-30 21:41:46 UTC) #4
navabi
https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode194 build/android/buildbot/bb_device_steps.py:194: RunCmd(['build/android/adb_install_apk.py'] + args, halt_on_failure=True) On 2013/04/30 20:01:16, Isaac wrote: ...
7 years, 7 months ago (2013-04-30 21:43:55 UTC) #5
Isaac (away)
https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode194 build/android/buildbot/bb_device_steps.py:194: RunCmd(['build/android/adb_install_apk.py'] + args, halt_on_failure=True) On 2013/04/30 21:41:46, navabi wrote: ...
7 years, 7 months ago (2013-04-30 21:53:17 UTC) #6
navabi
https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode288 build/android/buildbot/bb_device_steps.py:288: RunCmd(['build/android/device_status_check.py'], halt_on_failure=True) On 2013/04/30 21:53:17, Isaac wrote: > devise_status_check ...
7 years, 7 months ago (2013-04-30 21:59:56 UTC) #7
Isaac (away)
https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://chromiumcodereview.appspot.com/14283017/diff/1/build/android/buildbot/bb_device_steps.py#newcode288 build/android/buildbot/bb_device_steps.py:288: RunCmd(['build/android/device_status_check.py'], halt_on_failure=True) On 2013/04/30 21:59:56, navabi wrote: > On ...
7 years, 7 months ago (2013-04-30 22:07:08 UTC) #8
navabi
7 years, 7 months ago (2013-05-02 22:47:52 UTC) #9
navabi
PTAL.
7 years, 7 months ago (2013-05-02 22:51:16 UTC) #10
Isaac (away)
I still have an outstanding comment on patchset 1..
7 years, 7 months ago (2013-05-02 23:12:07 UTC) #11
navabi
On 2013/05/02 23:12:07, Isaac wrote: > I still have an outstanding comment on patchset 1.. ...
7 years, 7 months ago (2013-05-03 00:18:03 UTC) #12
navabi
On 2013/05/03 00:18:03, navabi wrote: > On 2013/05/02 23:12:07, Isaac wrote: > > I still ...
7 years, 7 months ago (2013-05-07 01:30:57 UTC) #13
navabi
> I prefer we land this as is, as the SdkController.apk installs properly and fast ...
7 years, 7 months ago (2013-05-07 01:32:52 UTC) #14
Isaac (away)
What does SdkController do? I'm uneasy installing a random apk even if it's already in ...
7 years, 7 months ago (2013-05-07 01:46:08 UTC) #15
navabi
On 2013/05/07 01:46:08, Isaac wrote: > What does SdkController do? I'm uneasy installing a random ...
7 years, 7 months ago (2013-05-07 11:01:15 UTC) #16
navabi
On 2013/05/07 11:01:15, navabi wrote: > On 2013/05/07 01:46:08, Isaac wrote: > > What does ...
7 years, 7 months ago (2013-05-07 17:58:25 UTC) #17
Isaac (away)
LGTM. Make sure your android manifest does not require jelly bean (preferably this will install ...
7 years, 7 months ago (2013-05-07 18:07:25 UTC) #18
Isaac (away)
https://codereview.chromium.org/14283017/diff/22001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/14283017/diff/22001/build/android/buildbot/bb_device_steps.py#newcode173 build/android/buildbot/bb_device_steps.py:173: for _ in range(NUM_CHECK_INSTALL): Actually, why try to install ...
7 years, 7 months ago (2013-05-07 18:08:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/14283017/29001
7 years, 7 months ago (2013-05-08 20:56:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/navabi@google.com/14283017/42001
7 years, 7 months ago (2013-05-08 23:34:56 UTC) #21
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 7 months ago (2013-05-09 06:18:26 UTC) #22
navabi
On 2013/05/09 06:18:26, I haz the power (commit-bot) wrote: > The commit queue went berserk ...
7 years, 7 months ago (2013-05-10 02:37:56 UTC) #23
navabi
Any ideas on why I can't dcommit this change. I get a list of warnings ...
7 years, 7 months ago (2013-05-13 20:21:44 UTC) #24
Isaac (away)
I think those are normal warnings that always show up. Try running git cl presubmit ...
7 years, 7 months ago (2013-05-13 21:02:03 UTC) #25
navabi
I have done all those things. Presumbit passes and completes. I have rebased off origin. ...
7 years, 7 months ago (2013-05-14 02:29:28 UTC) #26
Isaac (away)
Have you initialized git-svn in your repo? If not, you have to do that before ...
7 years, 7 months ago (2013-05-14 02:49:11 UTC) #27
navabi
Committed patchset #11 manually as r200020 (presubmit successful).
7 years, 7 months ago (2013-05-14 17:15:41 UTC) #28
navabi
7 years, 7 months ago (2013-05-14 17:16:09 UTC) #29
Message was sent while issue was closed.
On 2013/05/14 02:49:11, Isaac wrote:
> Have you initialized git-svn in your repo?  If not, you have to do that
> before you can dcommit.
> 
> 
> On Mon, May 13, 2013 at 7:29 PM, Armand Navabi <mailto:navabi@google.com>
wrote:
> 
> > I have done all those things. Presumbit passes and completes. I have
> > rebased off origin.
> > The dcommit does not complete.  It gives the following error:
> >
> > Switched to branch 'git-cl-cherry-pick'
> >
> > Unable to determine upstream SVN information from HEAD history.
> > Perhaps the repository is empty. at /usr/lib/git-core/git-svn line 845.
> >
> >
> >
> > On Mon, May 13, 2013 at 2:02 PM, <mailto:ilevy@chromium.org> wrote:
> >
> >> I think those are normal  warnings that always show up.  Try running  git
> >> cl
> >> presubmit and making sure that completes.
> >>
> >> If it does, make sure you've synced and are rebased off of origin.
> >>
> >>
>
https://codereview.chromium.**org/14283017/%3Chttps://codereview.chromium.org...>
> >>
> >
> >

That was it. Thanks Isaac.

Powered by Google App Engine
This is Rietveld 408576698