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

Issue 976913002: Add '--adb-keys-file $HOME/.android/*.pub' to all bot provision_devices calls. (Closed)

Created:
5 years, 9 months ago by navabi
Modified:
5 years, 9 months ago
CC:
chromium-reviews, kjellander-cc_chromium.org, cmp-cc_chromium.org, stip+watch_chromium.org
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

Add '--adb-keys-file $HOME/.android/*.pub' to all bot provision_devices calls. This will add --adb-key-files $HOME/.android/*.pub argument by default to all Android bots on recipes. Here use of the argument has been changed to not fail if any of the adb key files the file does not exist: https://codereview.chromium.org/975963002/ BUG=

Patch Set 1 #

Total comments: 3

Patch Set 2 : Change no_adb_key_files to write_adb_key_files. #

Patch Set 3 : Combine if statements #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -36 lines) Patch
M scripts/slave/recipe_modules/chromium_android/api.py View 1 2 2 chunks +6 lines, -1 line 2 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json View 1 chunk +2 lines, -1 line 2 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/coverage_builder_basic.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_refs.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_try_builder_basic.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_adb_vendor_keys_basic.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_allow_low_battery_basic.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_basic.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_disable_location_basic.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_user_build_basic.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/perf_tests_failure.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/restart_usb_builder_basic.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/chromium_android/example.expected/tester_basic.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/cronet/example.expected/local_test.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/android/perf.expected/full_chromium_perf_Android_MotoE_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/full_chromium_perf_Android_Nexus10_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/full_chromium_perf_Android_Nexus4_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/full_chromium_perf_Android_Nexus5_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/full_chromium_perf_Android_Nexus7v2_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/full_chromium_perf_fyi_android_nexus5_oilpan_perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/full_client_v8_Android_Nexus4_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/get_perf_test_list_old_data.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/perf.expected/provision_devices.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/android/tester.expected/android_dbg_tests_recipe__content_browsertests_failure.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/android/tester.expected/tryserver_chromium_linux_EXAMPLE_android_rel_telemetry_tests_recipe.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/android/tester.expected/tryserver_chromium_linux_android_dbg_tests_recipe.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/android/tester.expected/tryserver_chromium_linux_android_rel_tests_recipe.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/android_webview_aosp_perf.expected/basic.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Tests__N5___dbg_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Android_Tests.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Android_Tests__dbg_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_perf_Android_MotoE_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_perf_Android_Nexus10_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_perf_Android_Nexus4_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_perf_Android_Nexus5_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_perf_Android_Nexus7v2_Perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_perf_fyi_android_nexus5_oilpan_perf.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_armv6_builder.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_builder.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/cronet.expected/android_cronet_builder__dbg_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/cronet.expected/local_test.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/chromium.expected/chromium_webrtc_fyi_Android_Tests__dbg___L_Nexus5_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/chromium.expected/chromium_webrtc_fyi_Android_Tests__dbg___L_Nexus7_2_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/chromium.expected/chromium_webrtc_fyi_Android_Tests__dbg___L_Nexus9_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__l_nexus5_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__l_nexus5__dbg_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__l_nexus5__failing_test.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__l_nexus5__forced.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__l_nexus7_2_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__l_nexus7_2__dbg_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__l_nexus9__dbg_.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_arm64.json View 1 chunk +2 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_rel.json View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (2 generated)
navabi
Please review along with: https://codereview.chromium.org/975963002/ https://codereview.chromium.org/976913002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/976913002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py#newcode367 scripts/slave/recipe_modules/chromium_android/api.py:367: if not no_adb_keys_files: This ...
5 years, 9 months ago (2015-03-04 00:19:23 UTC) #2
jbudorick
https://codereview.chromium.org/976913002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/976913002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py#newcode367 scripts/slave/recipe_modules/chromium_android/api.py:367: if not no_adb_keys_files: On 2015/03/04 00:19:23, navabi wrote: > ...
5 years, 9 months ago (2015-03-04 00:23:50 UTC) #3
navabi
https://codereview.chromium.org/976913002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/976913002/diff/1/scripts/slave/recipe_modules/chromium_android/api.py#newcode367 scripts/slave/recipe_modules/chromium_android/api.py:367: if not no_adb_keys_files: On 2015/03/04 00:23:50, jbudorick wrote: > ...
5 years, 9 months ago (2015-03-04 00:56:38 UTC) #4
luqui
https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/api.py#newcode367 scripts/slave/recipe_modules/chromium_android/api.py:367: '.android', '*.pub')): If we told it to write the ...
5 years, 9 months ago (2015-03-04 20:19:44 UTC) #5
jbudorick
https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json File scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json (right): https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json#newcode343 scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json:343: "--adb-key-files /usr/local/google/home/navabi/.android/*.pub" On 2015/03/04 20:19:44, luqui wrote: > This ...
5 years, 9 months ago (2015-03-04 20:22:02 UTC) #6
friedman1
https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/api.py#newcode367 scripts/slave/recipe_modules/chromium_android/api.py:367: '.android', '*.pub')): On 2015/03/04 20:19:44, luqui wrote: > If ...
5 years, 9 months ago (2015-03-04 20:49:34 UTC) #8
luqui
On 2015/03/04 20:49:34, friedman1 wrote: > https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/api.py > File scripts/slave/recipe_modules/chromium_android/api.py (right): > > https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/api.py#newcode367 > ...
5 years, 9 months ago (2015-03-04 21:53:46 UTC) #9
friedman1
On 2015/03/04 21:53:46, luqui wrote: > On 2015/03/04 20:49:34, friedman1 wrote: > > > https://codereview.chromium.org/976913002/diff/40001/scripts/slave/recipe_modules/chromium_android/api.py ...
5 years, 9 months ago (2015-03-04 21:59:11 UTC) #10
luqui
That puppet solution sounds fine to me, there might be larger forces at play that ...
5 years, 9 months ago (2015-03-04 22:02:56 UTC) #11
navabi
On 2015/03/04 22:02:56, luqui wrote: > That puppet solution sounds fine to me, there might ...
5 years, 9 months ago (2015-03-04 22:06:02 UTC) #12
navabi
> Elliot, the issue that Luke is talking about is different than what you are ...
5 years, 9 months ago (2015-03-04 23:22:12 UTC) #13
navabi
5 years, 9 months ago (2015-03-05 23:35:23 UTC) #14
Closing this issue. The better solution is implemented here:
https://codereview.chromium.org/979013002/

Powered by Google App Engine
This is Rietveld 408576698