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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/specific_install_tester_basic.json

Issue 2103803002: adb: move known devices file under cache so it works with remote_run (attempt #2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 { 300 {
301 "cmd": [ 301 "cmd": [
302 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 302 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
303 "--adb-path", 303 "--adb-path",
304 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 304 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
305 "--blacklist-file", 305 "--blacklist-file",
306 "[SLAVE_BUILD]/src/out/bad_devices.json", 306 "[SLAVE_BUILD]/src/out/bad_devices.json",
307 "--json-output", 307 "--json-output",
308 "/path/to/tmp/json", 308 "/path/to/tmp/json",
309 "--known-devices-file", 309 "--known-devices-file",
310 "[BUILD]/site_config/.known_devices" 310 "[CACHE]/known_android_devices"
311 ], 311 ],
312 "env": { 312 "env": {
313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
314 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 314 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
315 }, 315 },
316 "name": "device_status_check", 316 "name": "device_status_check",
317 "~followup_annotations": [ 317 "~followup_annotations": [
318 "@@@STEP_TEXT@Online devices: 1@@@", 318 "@@@STEP_TEXT@Online devices: 1@@@",
319 "@@@STEP_LOG_LINE@json.output@[@@@", 319 "@@@STEP_LOG_LINE@json.output@[@@@",
320 "@@@STEP_LOG_LINE@json.output@ {@@@", 320 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 { 432 {
433 "cmd": [ 433 "cmd": [
434 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 434 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
435 "--adb-path", 435 "--adb-path",
436 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 436 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
437 "--blacklist-file", 437 "--blacklist-file",
438 "[SLAVE_BUILD]/src/out/bad_devices.json", 438 "[SLAVE_BUILD]/src/out/bad_devices.json",
439 "--json-output", 439 "--json-output",
440 "/path/to/tmp/json", 440 "/path/to/tmp/json",
441 "--known-devices-file", 441 "--known-devices-file",
442 "[BUILD]/site_config/.known_devices" 442 "[CACHE]/known_android_devices"
443 ], 443 ],
444 "env": { 444 "env": {
445 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 445 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
446 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 446 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
447 }, 447 },
448 "name": "device_status_check (2)", 448 "name": "device_status_check (2)",
449 "~followup_annotations": [ 449 "~followup_annotations": [
450 "@@@STEP_TEXT@Online devices: 1@@@", 450 "@@@STEP_TEXT@Online devices: 1@@@",
451 "@@@STEP_LOG_LINE@json.output@[@@@", 451 "@@@STEP_LOG_LINE@json.output@[@@@",
452 "@@@STEP_LOG_LINE@json.output@ {@@@", 452 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 719 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
720 }, 720 },
721 "name": "stack_tool_for_asan" 721 "name": "stack_tool_for_asan"
722 }, 722 },
723 { 723 {
724 "name": "$result", 724 "name": "$result",
725 "recipe_result": null, 725 "recipe_result": null,
726 "status_code": 0 726 "status_code": 0
727 } 727 }
728 ] 728 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698