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

Issue 878163004: [Android] Convert ContentShellTest.apk to isolate. (Closed)

Created:
5 years, 11 months ago by jbudorick
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-shell_chromium.org, erikwright+watch_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Convert ContentShellTest.apk to isolate. We were previously using --test-data to push files from //content/test/data/android/device_files to $EXTERNAL_STORAGE/chrome/test/data/content. Switching to isolate lets us handle all of our instrumentation and gtest data dependencies in the same way. It will also facilitate using isolate to optimize transfers between builders and testers. BUG=400499 TBR=maruel@chromium.org Committed: https://crrev.com/4cf59ffaa830d5edad26a439ba13f07ce0447394 Cr-Commit-Position: refs/heads/master@{#315148}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : fix bad rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -241 lines) Patch
M base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java View 1 2 3 2 chunks +24 lines, -4 lines 0 comments Download
M build/android/pylib/instrumentation/setup.py View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M content/content_shell_test_apk.isolate View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java View 5 chunks +10 lines, -5 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java View 1 chunk +9 lines, -6 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/ContentViewLocationTest.java View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/EmailAddressDetectionTest.java View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
A + content/test/data/android/content_detection/click_listeners.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/email.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/empty.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/geo_address_limits.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/geo_address_multiple.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/geo_address_real.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/geo_address_special_chars.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/geo_address_split.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/phone_international.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/android/content_detection/phone_local.html View 0 chunks +-1 lines, --1 lines 0 comments Download
D content/test/data/android/device_files/content_detection/click_listeners.html View 1 chunk +0 lines, -26 lines 0 comments Download
D content/test/data/android/device_files/content_detection/email.html View 1 chunk +0 lines, -19 lines 0 comments Download
D content/test/data/android/device_files/content_detection/empty.html View 1 chunk +0 lines, -3 lines 0 comments Download
D content/test/data/android/device_files/content_detection/geo_address_limits.html View 1 chunk +0 lines, -25 lines 0 comments Download
D content/test/data/android/device_files/content_detection/geo_address_multiple.html View 1 chunk +0 lines, -19 lines 0 comments Download
D content/test/data/android/device_files/content_detection/geo_address_real.html View 1 chunk +0 lines, -20 lines 0 comments Download
D content/test/data/android/device_files/content_detection/geo_address_special_chars.html View 1 chunk +0 lines, -13 lines 0 comments Download
D content/test/data/android/device_files/content_detection/geo_address_split.html View 1 chunk +0 lines, -19 lines 0 comments Download
D content/test/data/android/device_files/content_detection/phone_international.html View 1 chunk +0 lines, -39 lines 0 comments Download
D content/test/data/android/device_files/content_detection/phone_local.html View 1 chunk +0 lines, -27 lines 0 comments Download
D content/test/data/android/device_files/geolocation.html View 1 chunk +0 lines, -17 lines 0 comments Download
A + content/test/data/android/geolocation.html View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
jbudorick
nyquist: base/ klundberg: build/android/ tedchoc: content/
5 years, 10 months ago (2015-01-28 18:36:38 UTC) #2
nyquist
Could you expand a bit in the CL description? You are adding TODO's in //base ...
5 years, 10 months ago (2015-01-28 23:19:49 UTC) #3
jbudorick
On 2015/01/28 23:19:49, nyquist wrote: > Could you expand a bit in the CL description? ...
5 years, 10 months ago (2015-01-29 00:46:13 UTC) #4
jbudorick
klundberg, tedchoc: friendly ping
5 years, 10 months ago (2015-02-06 15:23:04 UTC) #5
klundberg
lgtm
5 years, 10 months ago (2015-02-06 15:42:57 UTC) #6
Ted C
lgtm
5 years, 10 months ago (2015-02-06 18:22:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878163004/100001
5 years, 10 months ago (2015-02-06 22:38:50 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/41106)
5 years, 10 months ago (2015-02-06 22:46:36 UTC) #12
jbudorick
TBR maruel for content_shell_test_apk.isolate
5 years, 10 months ago (2015-02-06 22:48:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878163004/100001
5 years, 10 months ago (2015-02-06 22:50:07 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-07 00:43:34 UTC) #17
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/4cf59ffaa830d5edad26a439ba13f07ce0447394 Cr-Commit-Position: refs/heads/master@{#315148}
5 years, 10 months ago (2015-02-07 00:44:05 UTC) #18
Dirk Pranke
Unfortunately, it looks like this CL broke the contentshell_instrumentation_steps test on the chromium.webkit waterfall: https://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/24235 ...
5 years, 10 months ago (2015-02-07 23:10:24 UTC) #19
jbudorick
5 years, 10 months ago (2015-02-08 01:00:27 UTC) #20
Message was sent while issue was closed.
On 2015/02/07 23:10:24, Dirk Pranke wrote:
> Unfortunately, it looks like this CL broke the
> contentshell_instrumentation_steps test on the chromium.webkit waterfall:
> 
>
https://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28db...
> 
> I'm not quite sure what to do about that, as it looks like the chromium.webkit
> bot is not even using a recipe and is
> probably running tests quite differently, so I'm not sure how easy this will
be
> to fix. 
> 
> I'm reverting this change for now, and we can discuss how to move forward.

Ah, I think that's still on the old scripts in build/android/buildbot/. I'll
update those, then attempt to reland this. Thanks for reverting.

Powered by Google App Engine
This is Rietveld 408576698