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

Issue 1855663002: Make android's run_instrumentation_suite() use generated wrapper scripts (Closed)

Created:
4 years, 8 months ago by agrieve
Modified:
4 years, 8 months ago
CC:
Bernhard Bauer, cblume, chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@wrapper-1
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Make android's run_instrumentation_suite() use generated wrapper scripts BUG=599919 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299718

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Total comments: 5

Patch Set 3 : Fix wrapper script return value #

Total comments: 3

Patch Set 4 : use explicity arg in run_instrumentation_suite #

Patch Set 5 : exclude webrtc #

Total comments: 3

Patch Set 6 : adb install #

Patch Set 7 : coverage :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+545 lines, -2761 lines) Patch
M scripts/slave/recipe_modules/chromium_android/api.py View 1 2 3 4 5 6 chunks +30 lines, -19 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.py View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/coverage_builder_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/device_flags_builder_basic.json View 1 2 3 4 5 6 2 chunks +11 lines, -9 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/downgrade_install_tester_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_refs.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_try_builder_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/java_method_count_builder_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/last_known_devices_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/no_strict_mode_tester_basic.json View 1 2 3 4 5 6 2 chunks +11 lines, -9 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_adb_vendor_keys_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_allow_high_battery_temp_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_allow_low_battery_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_disable_location_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_user_build_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_tests_failure.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/resource_size_builder_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/restart_usb_builder_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/slow_tester_basic.json View 1 2 3 4 5 6 2 chunks +11 lines, -9 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/specific_install_tester_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/tester_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/tester_blacklisted_devices.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/tester_no_devices.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/tester_offline_devices.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/tester_other_device_failure.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/tester_with_step_warning.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_expected_failure.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_invalid_output.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_unexecuted_tests.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_unexpected_class_failure.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_unexpected_method_failure.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/webview_tester_basic.json View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/steps.py View 1 2 3 5 chunks +7 lines, -36 lines 0 comments Download
M scripts/slave/recipe_modules/cronet/api.py View 1 2 3 2 chunks +4 lines, -22 lines 0 comments Download
M scripts/slave/recipe_modules/cronet/example.expected/local_test.json View 1 2 3 4 1 chunk +4 lines, -48 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/amp_split_recipe_collect_failure.json View 1 2 3 4 4 chunks +4 lines, -98 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/amp_split_recipe_instrumentation_trigger_failure.json View 1 2 3 4 1 chunk +1 line, -24 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/amp_split_recipe_trigger_failure.json View 1 2 3 4 4 chunks +4 lines, -98 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/amp_split_recipe_trigger_local_failure.json View 1 2 3 4 4 chunks +4 lines, -98 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_instrumentation_test.json View 1 2 3 4 1 chunk +1 line, -28 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_android_Android_Webview_L__dbg_.json View 1 2 3 4 1 chunk +1 line, -24 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_android_Android_Webview_M__dbg_.json View 1 2 3 4 1 chunk +1 line, -24 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Asan_Builder_Tests__dbg_.json View 1 2 3 4 4 chunks +4 lines, -90 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Coverage__dbg_.json View 1 2 3 4 4 chunks +4 lines, -90 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Remoting_Tests.json View 1 2 3 4 1 chunk +1 line, -22 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Tests__amp_split_.json View 1 2 3 4 4 chunks +4 lines, -98 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Android_GN.json View 1 2 3 4 6 chunks +5 lines, -103 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/amp_test_failure.json View 1 2 3 4 8 chunks +8 lines, -196 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/amp_test_local_fallback.json View 1 2 3 4 8 chunks +8 lines, -196 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/amp_test_local_fallback_failure.json View 1 2 3 4 8 chunks +8 lines, -196 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_android_android_amp.json View 1 2 3 4 8 chunks +8 lines, -196 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_android_android_chromium_gn_rel.json View 1 2 3 4 12 chunks +10 lines, -206 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_android_android_coverage.json View 1 2 3 4 8 chunks +8 lines, -180 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_armv6_builder.json View 1 2 3 4 1 chunk +4 lines, -52 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_builder.json View 1 2 3 4 1 chunk +4 lines, -52 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_builder__dbg_.json View 1 2 3 4 1 chunk +4 lines, -48 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_data_reduction_proxy_builder.json View 1 2 3 4 1 chunk +4 lines, -52 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_tester.json View 1 2 3 4 1 chunk +4 lines, -48 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/cronet_try.json View 1 2 3 4 1 chunk +4 lines, -48 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/local_test.json View 1 2 3 4 1 chunk +4 lines, -48 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5__dbg_.json View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5__failing_test.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5__forced.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus7_2_.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus7_2__dbg_.json View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android64_tests__l_nexus9_.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_fyi_android32_asan__l_nexus6_.json View 1 2 3 4 5 2 chunks +6 lines, -6 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_fyi_android32_tests__j_nexus4_.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_fyi_android32_tests__k_nexus5_.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_fyi_android32_tests__l_nexus6_.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_arm64_rel.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_dbg.json View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_n6.json View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_rel.json View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 38 (12 generated)
agrieve
On 2016/04/02 00:44:54, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:jbudorick@chromium.org 🎀 Did my ...
4 years, 8 months ago (2016-04-02 00:46:22 UTC) #3
jbudorick
+infra folks Yeah, beware that this is used downstream. This CL will be more than ...
4 years, 8 months ago (2016-04-02 00:59:57 UTC) #5
ghost stip (do not use)
stoked to see more code get deleted
4 years, 8 months ago (2016-04-03 00:39:23 UTC) #6
agrieve
https://codereview.chromium.org/1855663002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/1855663002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py#newcode1245 scripts/slave/recipe_modules/chromium_android/api.py:1245: script = os.path.join('out', self.m.chromium.c.BUILD_CONFIG, 'bin', On 2016/04/02 00:59:57, jbudorick ...
4 years, 8 months ago (2016-04-05 02:37:01 UTC) #7
agrieve
On 2016/04/05 02:37:01, agrieve wrote: > https://codereview.chromium.org/1855663002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py > File scripts/slave/recipe_modules/chromium_android/api.py (right): > > https://codereview.chromium.org/1855663002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py#newcode1245 > ...
4 years, 8 months ago (2016-04-05 02:42:53 UTC) #8
agrieve
On 2016/04/05 02:42:53, agrieve wrote: > On 2016/04/05 02:37:01, agrieve wrote: > > > https://codereview.chromium.org/1855663002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py ...
4 years, 8 months ago (2016-04-05 14:22:39 UTC) #9
jbudorick
Did you update expectations between patchset 1 and 2? Not assigning to script in api.chromium_android.test_runner ...
4 years, 8 months ago (2016-04-05 14:29:30 UTC) #10
agrieve
Hmm, clearly didn't update them. I thought the presubmit upload check prevents this though... Weird, ...
4 years, 8 months ago (2016-04-05 14:45:49 UTC) #11
jbudorick
lgtm, but please wait for reviews from: +kjellander for webrtc +xunjieli for cronet +phajdan.jr or ...
4 years, 8 months ago (2016-04-05 15:14:59 UTC) #13
Paweł Hajdan Jr.
LGTM w/optional comment https://codereview.chromium.org/1855663002/diff/40001/scripts/slave/recipe_modules/chromium_tests/steps.py File scripts/slave/recipe_modules/chromium_tests/steps.py (right): https://codereview.chromium.org/1855663002/diff/40001/scripts/slave/recipe_modules/chromium_tests/steps.py#newcode1623 scripts/slave/recipe_modules/chromium_tests/steps.py:1623: name = compile_targets[0] It seems a ...
4 years, 8 months ago (2016-04-05 16:00:10 UTC) #14
agrieve
https://codereview.chromium.org/1855663002/diff/40001/scripts/slave/recipe_modules/chromium_tests/steps.py File scripts/slave/recipe_modules/chromium_tests/steps.py (right): https://codereview.chromium.org/1855663002/diff/40001/scripts/slave/recipe_modules/chromium_tests/steps.py#newcode1623 scripts/slave/recipe_modules/chromium_tests/steps.py:1623: name = compile_targets[0] On 2016/04/05 16:00:10, Paweł Hajdan Jr. ...
4 years, 8 months ago (2016-04-05 16:17:17 UTC) #15
xunjieli
cronet lgtm.
4 years, 8 months ago (2016-04-05 16:22:20 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1855663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1855663002/40001
4 years, 8 months ago (2016-04-05 16:34:39 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 16:38:08 UTC) #20
martiniss
I just did a CQ dry run; there's a new recipe engine cross repo trybot ...
4 years, 8 months ago (2016-04-05 16:45:32 UTC) #21
jbudorick
On 2016/04/05 16:45:32, martiniss wrote: > I just did a CQ dry run; there's a ...
4 years, 8 months ago (2016-04-05 16:48:17 UTC) #22
kjellander_chromium
This won't work for WebRTC until we spend time on getting these run scripts working ...
4 years, 8 months ago (2016-04-05 19:24:58 UTC) #23
agrieve
On 2016/04/05 19:24:58, kjellander (chromium) wrote: > This won't work for WebRTC until we spend ...
4 years, 8 months ago (2016-04-05 19:47:49 UTC) #24
kjellander_chromium
https://codereview.chromium.org/1855663002/diff/80001/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json File scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json (left): https://codereview.chromium.org/1855663002/diff/80001/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json#oldcode637 scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json:637: "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", Hm, dropping the installation of the APK can't ...
4 years, 8 months ago (2016-04-05 19:57:12 UTC) #25
agrieve
https://codereview.chromium.org/1855663002/diff/80001/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json File scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json (left): https://codereview.chromium.org/1855663002/diff/80001/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json#oldcode637 scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json:637: "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", On 2016/04/05 19:57:12, kjellander (chromium) wrote: > Hm, ...
4 years, 8 months ago (2016-04-05 19:59:42 UTC) #26
agrieve
https://codereview.chromium.org/1855663002/diff/80001/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json File scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json (left): https://codereview.chromium.org/1855663002/diff/80001/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json#oldcode637 scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_tests__l_nexus5_.json:637: "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", On 2016/04/05 19:59:42, agrieve wrote: > On 2016/04/05 ...
4 years, 8 months ago (2016-04-05 20:05:33 UTC) #27
kjellander_chromium
scripts/slave/recipes/webrtc: lgtm
4 years, 8 months ago (2016-04-05 20:09:10 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1855663002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1855663002/100001
4 years, 8 months ago (2016-04-05 23:45:45 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: Build Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Build%20Presubmit/builds/3590)
4 years, 8 months ago (2016-04-05 23:51:56 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1855663002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1855663002/120001
4 years, 8 months ago (2016-04-06 00:35:40 UTC) #36
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 00:43:02 UTC) #38
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=299718

Powered by Google App Engine
This is Rietveld 408576698