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

Issue 23345003: [Android] Buildbot changes for EMMA code coverage (Closed)

Created:
7 years, 4 months ago by gkanwar1
Modified:
7 years, 4 months ago
Reviewers:
Isaac (away), frankf
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, cjhopman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Buildbot changes for EMMA code coverage One piece of the overall java code coverage change. See: https://codereview.chromium.org/20210002/ NOTRY=True BUG=255644 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219083

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Cleans up |coverage_dir|, moves upload into its own function #

Total comments: 12

Patch Set 3 : Fixes getting revision, boto config, unnecessary setup #

Total comments: 8

Patch Set 4 : Fixes hash, covers all apks, fixes link #

Total comments: 4

Patch Set 5 : Moves gs_path into a variable, adds docstrings #

Patch Set 6 : Removes unnecessary constant #

Patch Set 7 : Moves library coverage data to lib.java #

Total comments: 2

Patch Set 8 : Adds TODO to remove *_sources.txt try/except #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -12 lines) Patch
M build/android/buildbot/bb_device_steps.py View 1 2 3 4 5 6 chunks +50 lines, -0 lines 0 comments Download
M build/android/buildbot/bb_run_bot.py View 2 chunks +6 lines, -2 lines 0 comments Download
M build/android/buildbot/bb_utils.py View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M build/android/generate_emma_html.py View 1 2 3 4 5 6 7 2 chunks +25 lines, -5 lines 0 comments Download
M build/android/gyp/emma_instr.py View 1 2 3 4 5 6 4 chunks +7 lines, -3 lines 0 comments Download
M build/android/instr_action.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
gkanwar1
This is waiting on a few other CLs, but in the interest of time sending ...
7 years, 4 months ago (2013-08-20 20:59:03 UTC) #1
frankf
https://codereview.chromium.org/23345003/diff/3001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (left): https://codereview.chromium.org/23345003/diff/3001/build/android/buildbot/bb_device_steps.py#oldcode59 build/android/buildbot/bb_device_steps.py:59: constants.CHROMIUM_TEST_SHELL_HOST_DRIVEN_DIR), Why is this removed? https://codereview.chromium.org/23345003/diff/3001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): ...
7 years, 4 months ago (2013-08-20 22:43:37 UTC) #2
gkanwar1
Made the suggested fixes and also moved out the upload functionality into its own function ...
7 years, 4 months ago (2013-08-20 23:01:06 UTC) #3
Isaac (away)
Looks fine -- some initial comments. https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py#newcode279 build/android/buildbot/bb_device_steps.py:279: shutil.rmtree(options.coverage_dir, ignore_errors=True) not ...
7 years, 4 months ago (2013-08-20 23:28:10 UTC) #4
gkanwar1
https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py#newcode279 build/android/buildbot/bb_device_steps.py:279: shutil.rmtree(options.coverage_dir, ignore_errors=True) On 2013/08/20 23:28:10, Isaac wrote: > not ...
7 years, 4 months ago (2013-08-20 23:40:29 UTC) #5
frankf
https://codereview.chromium.org/23345003/diff/13001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/13001/build/android/buildbot/bb_device_steps.py#newcode45 build/android/buildbot/bb_device_steps.py:45: def I(name, apk, apk_package, test_apk, test_data, coverage=True, Didn't we ...
7 years, 4 months ago (2013-08-21 00:42:25 UTC) #6
gkanwar1
https://codereview.chromium.org/23345003/diff/13001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/13001/build/android/buildbot/bb_device_steps.py#newcode45 build/android/buildbot/bb_device_steps.py:45: def I(name, apk, apk_package, test_apk, test_data, coverage=True, On 2013/08/21 ...
7 years, 4 months ago (2013-08-21 00:55:15 UTC) #7
frankf
lgtm
7 years, 4 months ago (2013-08-21 01:05:27 UTC) #8
frankf
Additional nits https://codereview.chromium.org/23345003/diff/18001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/18001/build/android/buildbot/bb_device_steps.py#newcode302 build/android/buildbot/bb_device_steps.py:302: def UploadCoverageData(options, path, coverage_type): Add docstring https://codereview.chromium.org/23345003/diff/18001/build/android/buildbot/bb_device_steps.py#newcode309 ...
7 years, 4 months ago (2013-08-21 01:13:45 UTC) #9
gkanwar1
https://codereview.chromium.org/23345003/diff/18001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/18001/build/android/buildbot/bb_device_steps.py#newcode302 build/android/buildbot/bb_device_steps.py:302: def UploadCoverageData(options, path, coverage_type): On 2013/08/21 01:13:45, frankf wrote: ...
7 years, 4 months ago (2013-08-21 01:29:13 UTC) #10
gkanwar1
On 2013/08/21 01:29:13, gkanwar1 wrote: > https://codereview.chromium.org/23345003/diff/18001/build/android/buildbot/bb_device_steps.py > File build/android/buildbot/bb_device_steps.py (right): > > https://codereview.chromium.org/23345003/diff/18001/build/android/buildbot/bb_device_steps.py#newcode302 > ...
7 years, 4 months ago (2013-08-22 16:21:13 UTC) #11
gkanwar1
cc'ing Chris as well, since I talked this over with him.
7 years, 4 months ago (2013-08-22 16:22:49 UTC) #12
frankf
lgtm w/ nit https://codereview.chromium.org/23345003/diff/25001/build/android/generate_emma_html.py File build/android/generate_emma_html.py (right): https://codereview.chromium.org/23345003/diff/25001/build/android/generate_emma_html.py#newcode63 build/android/generate_emma_html.py:63: # to a *_sources.txt (these should ...
7 years, 4 months ago (2013-08-22 17:34:26 UTC) #13
gkanwar1
Fixed nit. Just waiting on fyi triggered tests to go green with the correct coverage ...
7 years, 4 months ago (2013-08-22 18:09:58 UTC) #14
Isaac (away)
lgtm from buildbot perspective https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py#newcode279 build/android/buildbot/bb_device_steps.py:279: shutil.rmtree(options.coverage_dir, ignore_errors=True) On 2013/08/20 23:40:29, ...
7 years, 4 months ago (2013-08-22 18:10:36 UTC) #15
gkanwar1
https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py File build/android/buildbot/bb_device_steps.py (right): https://codereview.chromium.org/23345003/diff/8001/build/android/buildbot/bb_device_steps.py#newcode279 build/android/buildbot/bb_device_steps.py:279: shutil.rmtree(options.coverage_dir, ignore_errors=True) On 2013/08/22 18:10:37, Isaac wrote: > On ...
7 years, 4 months ago (2013-08-22 18:12:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gkanwar@chromium.org/23345003/46001
7 years, 4 months ago (2013-08-22 19:15:30 UTC) #17
commit-bot: I haz the power
7 years, 4 months ago (2013-08-22 19:56:37 UTC) #18
Message was sent while issue was closed.
Change committed as 219083

Powered by Google App Engine
This is Rietveld 408576698